On Sat, 2023-07-15 at 16:04 +0200, francis.montag...@inria.fr wrote:
> On Sat, 15 Jul 2023 13:45:05 +0100 Patrick O'Callaghan wrote:
>
> > However the journal still has weird entries like:
>
> > Jul 15 13:34:33 Bree (swapfile)[21768]: hibernate-resume.service:
> > Failed to locate executable /usr
On Sat, 15 Jul 2023 13:45:05 +0100 Patrick O'Callaghan wrote:
> However the journal still has weird entries like:
> Jul 15 13:34:33 Bree (swapfile)[21768]: hibernate-resume.service: Failed to
> locate executable /usr/sbin/swapoff /SWAP/swapfile: No such file or directory
I bet you put quotes ar
On Sat, 2023-07-15 at 13:02 +0100, Patrick O'Callaghan wrote:
> On Fri, 2023-07-14 at 18:45 -0400, Jeffrey Walton wrote:
> > > [root@Bree ~]# ls -lZd /SWAP
> > > drwxr-xr-x. 1 root root system_u:object_r:default_t:s0 28 Jul 13
> > > 22:32 /SWAP
> >
> > I would expect to see swapfile_t there.
> > >
On Fri, 2023-07-14 at 18:45 -0400, Jeffrey Walton wrote:
> > [root@Bree ~]# ls -lZd /SWAP
> > drwxr-xr-x. 1 root root system_u:object_r:default_t:s0 28 Jul 13
> > 22:32 /SWAP
>
> I would expect to see swapfile_t there.
> > >
I'll try adding that.
> > > Do you have the selinux error message?
> >
On Fri, Jul 14, 2023 at 5:15 PM Patrick O'Callaghan
wrote:
> [...]
> > > > Where do you show the selinux label anywhere in that?
> > > > "ls -lZ"
> > >
> > > $ ls -lZ /SWAP/swapfile
> > > -rw---. 1 root root unconfined_u:object_r:default_t:s0
> > > 34359738368 Jul 12 12:46 /SWAP/swapfile
> >
>
On Fri, 2023-07-14 at 10:58 -0700, Samuel Sieb wrote:
> On 7/14/23 10:49, Patrick O'Callaghan wrote:
> > On Fri, 2023-07-14 at 09:49 -0700, Samuel Sieb wrote:
> > > On 7/14/23 03:44, Patrick O'Callaghan wrote:
> > > > On Thu, 2023-07-13 at 15:37 -0700, Samuel Sieb wrote:
> > > > > On 7/13/23 14:39,
On 7/14/23 10:49, Patrick O'Callaghan wrote:
On Fri, 2023-07-14 at 09:49 -0700, Samuel Sieb wrote:
On 7/14/23 03:44, Patrick O'Callaghan wrote:
On Thu, 2023-07-13 at 15:37 -0700, Samuel Sieb wrote:
On 7/13/23 14:39, Patrick O'Callaghan wrote:
So I followed that (i.e. applied 'restorecon -v /S
On Fri, 2023-07-14 at 09:49 -0700, Samuel Sieb wrote:
> On 7/14/23 03:44, Patrick O'Callaghan wrote:
> > On Thu, 2023-07-13 at 15:37 -0700, Samuel Sieb wrote:
> > > On 7/13/23 14:39, Patrick O'Callaghan wrote:
> > > > So I followed that (i.e. applied 'restorecon -v /SWAP', where
> > > > /SWAP
> > >
On 7/14/23 03:44, Patrick O'Callaghan wrote:
On Thu, 2023-07-13 at 15:37 -0700, Samuel Sieb wrote:
On 7/13/23 14:39, Patrick O'Callaghan wrote:
So I followed that (i.e. applied 'restorecon -v /SWAP', where /SWAP
is
a Btrfs subvolume holding the swapfile, but it still fails with the
same error,
On Thu, 2023-07-13 at 15:37 -0700, Samuel Sieb wrote:
> On 7/13/23 14:39, Patrick O'Callaghan wrote:
> > On Thu, 2023-07-13 at 17:01 +0100, Patrick O'Callaghan wrote:
> > > On Thu, 2023-07-13 at 09:52 -0400, Ted Roche wrote:
> > > > POC: You might try the posts on this Fedora List archive:
> > > >
On 7/13/23 14:39, Patrick O'Callaghan wrote:
On Thu, 2023-07-13 at 17:01 +0100, Patrick O'Callaghan wrote:
On Thu, 2023-07-13 at 09:52 -0400, Ted Roche wrote:
POC: You might try the posts on this Fedora List archive:
https://lists.fedoraproject.org/archives/search?mlist=users%40lists.fedorapro
On Thu, 2023-07-13 at 17:01 +0100, Patrick O'Callaghan wrote:
> On Thu, 2023-07-13 at 09:52 -0400, Ted Roche wrote:
> > POC: You might try the posts on this Fedora List archive:
> >
> > https://lists.fedoraproject.org/archives/search?mlist=users%40lists.fedoraproject.org&q=SELinux+hibernate+[SOLVE
On Thu, 2023-07-13 at 09:52 -0400, Ted Roche wrote:
> POC: You might try the posts on this Fedora List archive:
>
> https://lists.fedoraproject.org/archives/search?mlist=users%40lists.fedoraproject.org&q=SELinux+hibernate+[SOLVED]
This looks like it:
https://lists.fedoraproject.org/archives/list
POC: You might try the posts on this Fedora List archive:
https://lists.fedoraproject.org/archives/search?mlist=users%40lists.fedoraproject.org&q=SELinux+hibernate+[SOLVED]
On Thu, Jul 13, 2023 at 9:09 AM stan via users
wrote:
>
> On Thu, 13 Jul 2023 12:32:19 +0100
> Patrick O'Callaghan wrote:
On Thu, 13 Jul 2023 12:32:19 +0100
Patrick O'Callaghan wrote:
> To clarify: I'm setting Permissive mode, which according to TFM should
> allow the operation but log it. However nothing is being logged as far
> as I can see (at least nothing is shown by the journal), even though
> when the mode is
On Thu, 2023-07-13 at 11:05 +0100, Patrick O'Callaghan wrote:
> On Thu, 2023-07-13 at 07:56 +0100, Barry wrote:
> >
> >
> > > On 12 Jul 2023, at 22:58, Patrick O'Callaghan
> > > wrote:
> > >
> > > Never mind. I worked around it by just toggling SElinux off/on
> > > from
> > > the
> > > hibernat
On Thu, 2023-07-13 at 07:56 +0100, Barry wrote:
>
>
> > On 12 Jul 2023, at 22:58, Patrick O'Callaghan
> > wrote:
> >
> > Never mind. I worked around it by just toggling SElinux off/on from
> > the
> > hibernate/resume scripts.
>
> You will need to solve this as 6.4 or 6.5 will not allow selinu
> On 12 Jul 2023, at 22:58, Patrick O'Callaghan wrote:
>
> Never mind. I worked around it by just toggling SElinux off/on from the
> hibernate/resume scripts.
You will need to solve this as 6.4 or 6.5 will not allow selinux to be turned
off as ypu are doing.
Barry
___
On Wed, 2023-07-12 at 15:10 +0100, Patrick O'Callaghan wrote:
> On Mon, 2023-07-10 at 22:23 +0100, Patrick O'Callaghan wrote:
> > On Mon, 2023-07-10 at 15:39 -0400, Jonathan Billings wrote:
> > >
> > > On Jul 9, 2023, at 06:14, Patrick O'Callaghan
> > >
> > > wrote:
> > > >
> > > > I found this
On Mon, 2023-07-10 at 22:23 +0100, Patrick O'Callaghan wrote:
> On Mon, 2023-07-10 at 15:39 -0400, Jonathan Billings wrote:
> >
> > On Jul 9, 2023, at 06:14, Patrick O'Callaghan
> >
> > wrote:
> > >
> > > I found this handy guide:
> > >
> > > https://fedoramagazine.org/hibernation-in-fedora-36-
On Tue, 2023-07-11 at 21:06 +0930, Tim via users wrote:
> Tim:
> > > One of the big problems (pun intended) that was that your swap
> > > had to
> > > be sufficiently bigger than your RAM to handle whatever the swap
> > > file
> > > was doing at the time PLUS being able to dump memory into it.
>
>
Tim:
>> One of the big problems (pun intended) that was that your swap had to
>> be sufficiently bigger than your RAM to handle whatever the swap file
>> was doing at the time PLUS being able to dump memory into it.
Patrick O'Callaghan:
> Certainly, but having two files rather than one makes no p
On Tue, 2023-07-11 at 12:48 +0930, Tim via users wrote:
> On Mon, 2023-07-10 at 17:18 +0100, Patrick O'Callaghan wrote:
> > I agree that making this simpler is a worthy goal, but it's the
> > same goal
> > in both cases. Not using the hibernation file for swap doesn't gain
> > you
> > anything.
>
On Mon, 2023-07-10 at 17:18 +0100, Patrick O'Callaghan wrote:
> I agree that making this simpler is a worthy goal, but it's the same goal
> in both cases. Not using the hibernation file for swap doesn't gain you
> anything.
One of the big problems (pun intended) that was that your swap had to
be s
On Mon, 2023-07-10 at 15:39 -0400, Jonathan Billings wrote:
>
> On Jul 9, 2023, at 06:14, Patrick O'Callaghan
> wrote:
> >
> > I found this handy guide:
> >
> > https://fedoramagazine.org/hibernation-in-fedora-36-workstation/
> >
> > It does require some fiddling around to work out the swapfil
On Jul 9, 2023, at 06:14, Patrick O'Callaghan wrote:
>
> I found this handy guide:
>
> https://fedoramagazine.org/hibernation-in-fedora-36-workstation/
>
> It does require some fiddling around to work out the swapfile's
> physical offset on the drive, but I'm going to try it.
It appears that
On Tue, 2023-07-11 at 01:34 +0930, Tim via users wrote:
> Tim:
> > > I wonder if anyone has thought of designing things to have a
> > > dedicated hibernation file or partition that isn't also used
> > > for swap?
>
>
> Patrick O'Callaghan:
> > I guess that would be an idea, though I'm not sure ho
Tim:
>> I wonder if anyone has thought of designing things to have a
>> dedicated hibernation file or partition that isn't also used
>> for swap?
Patrick O'Callaghan:
> I guess that would be an idea, though I'm not sure how much effort it
> would save in terms of setting it up.
I was thinking mo
On Mon, 2023-07-10 at 12:16 +0930, Tim via users wrote:
> On Sun, 2023-07-09 at 11:14 +0100, Patrick O'Callaghan wrote:
> > I found this handy guide:
> >
> > https://fedoramagazine.org/hibernation-in-fedora-36-workstation/
> >
> > It does require some fiddling around to work out the swapfile's
>
On Sun, 2023-07-09 at 11:14 +0100, Patrick O'Callaghan wrote:
> I found this handy guide:
>
> https://fedoramagazine.org/hibernation-in-fedora-36-workstation/
>
> It does require some fiddling around to work out the swapfile's
> physical offset on the drive, but I'm going to try it.
I had a look
On Sat, 2023-07-08 at 20:45 -0700, Samuel Sieb wrote:
> On 7/8/23 07:38, Doug Herr wrote:
> > On Sat, Jul 8, 2023, at 5:11 AM, Patrick O'Callaghan wrote:
> > > I'm experimenting with hibernating rather than suspending my
> > > system
> > > overnight. However I get this:
> > >
> > > $ sudo systemct
On 7/8/23 07:38, Doug Herr wrote:
On Sat, Jul 8, 2023, at 5:11 AM, Patrick O'Callaghan wrote:
I'm experimenting with hibernating rather than suspending my system
overnight. However I get this:
$ sudo systemctl hibernate
Call to Hibernate failed: Not enough swap space for hibernation
But:
$ fr
On Sat, 2023-07-08 at 13:26 -0400, Felix Miata wrote:
> It's normal to include the resume location in the initrd, thus including it
> on the
> kernel cmdline is either redundant, or an override, depending on the location
> there specified.
I think that *should* work if pre-configuration to allow
On Sat, Jul 8, 2023 at 1:09 PM Patrick O'Callaghan
wrote:
> [...]
> Yes, I think you're right. In fact I think I even asked about this in
> the distant past.
>
> There's an old joke:
> "I think I'm getting a combination of memory loss with déjà vu, because
> I may have forgotten about this before.
Patrick O'Callaghan composed on 2023-07-08 18:09 (UTC+0100):
> On Sat, 2023-07-08 at 07:38 -0700, Doug Herr wrote:
>> I think the partition will also need to be listed in the Grub boot
>> line also.
> Yes, I think you're right. In fact I think I even asked about this in
> the distant past.
It's
On Sun, 2023-07-09 at 01:12 +0930, Tim via users wrote:
> On Sat, 2023-07-08 at 13:11 +0100, Patrick O'Callaghan wrote:
> > $ sudo systemctl hibernate
> > Call to Hibernate failed: Not enough swap space for hibernation
>
> I was under the impression that:
>
> It needed to hibernate to a swap part
On Sat, 2023-07-08 at 18:11 +0200, francis.montag...@inria.fr wrote:
> Hi
>
> On Sat, 08 Jul 2023 07:38:19 -0700 "Doug Herr" wrote:
>
> > If I remember right (and it has not changed) then you need an
> > actual swap
> > partition and not just a "swapfile".
>
> I have this feeling too.
>
> I app
On Sat, 2023-07-08 at 07:38 -0700, Doug Herr wrote:
> On Sat, Jul 8, 2023, at 5:11 AM, Patrick O'Callaghan wrote:
> > I'm experimenting with hibernating rather than suspending my system
> > overnight. However I get this:
> >
> > $ sudo systemctl hibernate
> > Call to Hibernate failed: Not enough s
Hi
On Sat, 08 Jul 2023 07:38:19 -0700 "Doug Herr" wrote:
> If I remember right (and it has not changed) then you need an actual swap
> partition and not just a "swapfile".
I have this feeling too.
I applied with success this article:
How to enable hibernation on Fedora Linux
https://www.ct
On Sat, 2023-07-08 at 13:11 +0100, Patrick O'Callaghan wrote:
> $ sudo systemctl hibernate
> Call to Hibernate failed: Not enough swap space for hibernation
I was under the impression that:
It needed to hibernate to a swap partition, not a file. Or, perhaps,
an accessible file at pre-boot time (
On Sat, Jul 8, 2023, at 5:11 AM, Patrick O'Callaghan wrote:
> I'm experimenting with hibernating rather than suspending my system
> overnight. However I get this:
>
> $ sudo systemctl hibernate
> Call to Hibernate failed: Not enough swap space for hibernation
>
> But:
>
> $ free -h
>
I'm experimenting with hibernating rather than suspending my system
overnight. However I get this:
$ sudo systemctl hibernate
Call to Hibernate failed: Not enough swap space for hibernation
But:
$ free -h
totalusedfree shared buff/cache available
Mem:
42 matches
Mail list logo