Re: F42: instructions on setting up hibernate for ext4 systems [SOLVED]

2025-07-07 Thread Joe Zeff
On 07/07/2025 03:58 AM, George N. White III wrote: In emergency, leave the building and let professionals deal with it. I suspect panels were locked so the electrician could investigate rather than have random employees messing with breakers. The professionals don't take any chances; they use

Re: F42: instructions on setting up hibernate for ext4 systems [SOLVED]

2025-07-07 Thread Tim via users
George N. White III wrote: > > > Circuit breakers were in a locked closet. Tim: > > Is that legal? How would you cut power in an emergency? George N. White III: > In emergency, leave the building and let professionals deal with it. I > suspect panels > were locked so the electrician could inv

Re: F42: instructions on setting up hibernate for ext4 systems [SOLVED]

2025-07-07 Thread George N. White III
On Mon, Jul 7, 2025 at 1:26 AM Tim via users wrote: > On Sun, 2025-07-06 at 10:49 -0300, George N. White III wrote: > > Circuit breakers were in a locked closet. > > Is that legal? How would you cut power in an emergency? > In emergency, leave the building and let professionals deal with it. I

Re: F42: instructions on setting up hibernate for ext4 systems [SOLVED]

2025-07-06 Thread Tim via users
On Sun, 2025-07-06 at 10:49 -0300, George N. White III wrote: > Circuit breakers were in a locked closet. Is that legal? How would you cut power in an emergency? -- uname -rsvp Linux 3.10.0-1160.119.1.el7.x86_64 #1 SMP Tue Jun 4 14:43:51 UTC 2024 x86_64 (yes, this is the output from uname

Re: F42: instructions on setting up hibernate for ext4 systems [SOLVED]

2025-07-06 Thread George N. White III
support for Fedora users > > Cc: Ranjan Maitra > > Reply-To: Community support for Fedora users < > users@lists.fedoraproject.org> > > Subject: Re: F42: instructions on setting up hibernate for ext4 systems > > [SOLVED] > > > > > > All this on a D

Re: F42: instructions on setting up hibernate for ext4 systems [SOLVED]

2025-07-05 Thread Ranjan Maitra via users
instructions on setting up hibernate for ext4 systems > [SOLVED] > > > > On Fri Jul04'25 10:31:43PM, Samuel Sieb wrote: > > From: Samuel Sieb > > Date: Fri, 4 Jul 2025 22:31:43 -0700 > > To: users@lists.fedoraproject.org > > Reply-To: Community support

Re: F42: instructions on setting up hibernate for ext4 systems [SOLVED]

2025-07-05 Thread Ranjan Maitra via users
On Fri Jul04'25 10:31:43PM, Samuel Sieb wrote: > From: Samuel Sieb > Date: Fri, 4 Jul 2025 22:31:43 -0700 > To: users@lists.fedoraproject.org > Reply-To: Community support for Fedora users > Subject: Re: F42: instructions on setting up hibernate > > On 7/4/25 9:41 P

Re: F42: instructions on setting up hibernate

2025-07-05 Thread Tim via users
On Fri, 2025-07-04 at 23:33 +0200, Patrick Dupre via users wrote: > About my issue. I do not want to hibernate, but just suspend. Then you do not need to make a swap partition (or file), only hibernate needs that. -- uname -rsvp Linux 3.10.0-1160.119.1.el7.x86_64 #1 SMP Tue Jun 4 14:43

Re: F42: instructions on setting up hibernate

2025-07-04 Thread Samuel Sieb
On 7/4/25 9:41 PM, Ranjan Maitra via users wrote: On Fri Jul04'25 07:15:54PM, Samuel Sieb wrote: From: Samuel Sieb Date: Fri, 4 Jul 2025 19:15:54 -0700 To: users@lists.fedoraproject.org Reply-To: Community support for Fedora users Subject: Re: F42: instructions on setting up hibernate O

Re: F42: instructions on setting up hibernate

2025-07-04 Thread Ranjan Maitra via users
On Fri Jul04'25 07:15:54PM, Samuel Sieb wrote: > From: Samuel Sieb > Date: Fri, 4 Jul 2025 19:15:54 -0700 > To: users@lists.fedoraproject.org > Reply-To: Community support for Fedora users > Subject: Re: F42: instructions on setting up hibernate > > On 7/4/25 7:08 P

Re: F42: instructions on setting up hibernate

2025-07-04 Thread Samuel Sieb
On 7/4/25 7:08 PM, Ranjan Maitra via users wrote: This appears to be a common issue with Dell laptops, although it seems that usually it doesn't even work the first time. Try running "modprobe -r intel_hid" before hibernating and see what happens. It goes down reliably and comes back only when

Re: F42: instructions on setting up hibernate

2025-07-04 Thread Ranjan Maitra via users
Thanks! On Fri Jul04'25 07:02:43PM, Samuel Sieb wrote: > From: Samuel Sieb > Date: Fri, 4 Jul 2025 19:02:43 -0700 > To: users@lists.fedoraproject.org > Reply-To: Community support for Fedora users > Subject: Re: F42: instructions on setting up hibernate > > On 7/4/25

Re: F42: instructions on setting up hibernate

2025-07-04 Thread Samuel Sieb
On 7/4/25 4:45 PM, Ranjan Maitra via users wrote: And here is one entire cycle after a reboot: so hibernate, wake it back up (using the power button), hibernate with the refusal to hibernate. So, basically, includes a case where we have a successful hibernate after reboot, but an unsuccessful

Re: F42: instructions on setting up hibernate

2025-07-04 Thread Ranjan Maitra via users
On Fri Jul04'25 03:48:25PM, Samuel Sieb wrote: > From: Samuel Sieb > Date: Fri, 4 Jul 2025 15:48:25 -0700 > To: users@lists.fedoraproject.org > Reply-To: Community support for Fedora users > Subject: Re: F42: instructions on setting up hibernate > > On 7/4/25 3:30 P

Re: F42: instructions on setting up hibernate

2025-07-04 Thread Samuel Sieb
On 7/4/25 3:30 PM, Ranjan Maitra via users wrote: On Fri Jul04'25 03:06:01PM, Samuel Sieb wrote: The first hibernate works, but then it won't hibernate again? Check the journal, it will tell you why. "journalctl -r" might help. It gives you the log in reverse order, st

Re: F42: instructions on setting up hibernate

2025-07-04 Thread Ranjan Maitra via users
On Fri Jul04'25 03:06:01PM, Samuel Sieb wrote: > From: Samuel Sieb > Date: Fri, 4 Jul 2025 15:06:01 -0700 > To: users@lists.fedoraproject.org > Reply-To: Community support for Fedora users > Subject: Re: F42: instructions on setting up hibernate > > On 7/4/25 3:02 P

Re: F42: instructions on setting up hibernate

2025-07-04 Thread Samuel Sieb
On 7/4/25 3:02 PM, Ranjan Maitra via users wrote: Thanks! I thought I got it working, pretty much out of the box, but it only works once per reboot. Here is what happens: Boot the system. Hibernate (systemctl hibernate), system goes down. Press power button, system comes back up. Hibernate

Re: F42: instructions on setting up hibernate

2025-07-04 Thread Ranjan Maitra via users
On Fri Jul04'25 10:00:58PM, Barry wrote: > From: Barry > Date: Fri, 4 Jul 2025 22:00:58 +0100 > To: users@lists.fedoraproject.org > CC: Ranjan Maitra , users@lists.fedoraproject.org > Reply-To: Community support for Fedora users > Subject: Re: F42: instructions

Re: F42: instructions on setting up hibernate

2025-07-04 Thread Samuel Sieb
On 7/4/25 2:33 PM, Patrick Dupre via users wrote: About my issue. I do not want to hibernate, but just suspend. It has been working on my laptop, but not anymore! Then why are you replying on this thread which is about hibernating? -- ___ users

Re: F42: instructions on setting up hibernate

2025-07-04 Thread Patrick Dupre via users
About my issue. I do not want to hibernate, but just suspend. It has been working on my laptop, but not anymore! > To: users@lists.fedoraproject.org > Cc: "Ranjan Maitra" , users@lists.fedoraproject.org > Subject: Re: F42: instructions on setting up hibernate > > >

Re: F42: instructions on setting up hibernate

2025-07-04 Thread Samuel Sieb
On 7/4/25 11:50 AM, Ranjan Maitra via users wrote: Btw, should secureboot be disabled for hibernate to work? Most likely. The kernel won't allow hibernating to (at least unencrypted) swap when it's in secure mode. -- ___ users ma

Re: F42: instructions on setting up hibernate

2025-07-04 Thread Patrick O'Callaghan
On Fri, 2025-07-04 at 11:38 -0500, Ranjan Maitra via users wrote: > > So, does this mean I have to create a /var/swap file using mkdir? Because > > right now, I do not have any a /var/swap. > > Or, just to add, should I ignore all three of these lines at: > > https://fedoramagazine.org/update-

Re: F42: instructions on setting up hibernate

2025-07-04 Thread Barry
> On 4 Jul 2025, at 19:51, Ranjan Maitra via users > wrote: > > But I am using a ext4 filesystem. Aha. i see why you are looking for different instructions. I take it you do not have a swap partition? You could shrink a ext4 partition to make room for a swap partition. Or you can create a fil

Re: F42: instructions on setting up hibernate

2025-07-04 Thread Ranjan Maitra via users
On Fri Jul04'25 07:47:08PM, Barry wrote: > From: Barry > Date: Fri, 4 Jul 2025 19:47:08 +0100 > To: users@lists.fedoraproject.org > CC: Ranjan Maitra , users@lists.fedoraproject.org > Reply-To: Community support for Fedora users > Subject: Re: F42: instructions

Re: F42: instructions on setting up hibernate

2025-07-04 Thread Barry
>> Cc: Ranjan Maitra >> Reply-To: Community support for Fedora users >> Subject: Re: F42: instructions on setting up hibernate >> >>> On Tue Jun24'25 04:37:21PM, Patrick O'Callaghan wrote: >>> From: Patrick O'Callaghan >>> Date: Tue,

Re: F42: instructions on setting up hibernate

2025-07-04 Thread Ranjan Maitra via users
instructions on setting up hibernate > > On Tue Jun24'25 04:37:21PM, Patrick O'Callaghan wrote: > > From: Patrick O'Callaghan > > Date: Tue, 24 Jun 2025 16:37:21 +0100 > > To: users@lists.fedoraproject.org > > Reply-To: Community support for Fedo

Re: F42: instructions on setting up hibernate

2025-07-04 Thread Ranjan Maitra via users
On Tue Jun24'25 04:37:21PM, Patrick O'Callaghan wrote: > From: Patrick O'Callaghan > Date: Tue, 24 Jun 2025 16:37:21 +0100 > To: users@lists.fedoraproject.org > Reply-To: Community support for Fedora users > Subject: Re: F42: instructions on setting up hibernate &g

Re: hibernate

2025-07-02 Thread Patrick Dupre via users
=== > Sent: Monday, June 30, 2025 at 9:58 PM > From: "Barry" > To: users@lists.fedoraproject.org > Cc: "Patrick Dupre" , "fedora" > Subject: Re: hibernate > > > > > On 30 Jun 2025, at 14:01, Patri

Re: hibernate

2025-07-02 Thread Marco Moock
On 30.06.2025 15:01 Patrick Dupre wrote: > My laptop does not hibernate. > systemctl status sleep.target suspend.target hibernate.target > hybrid-sleep.target What does dmesg say? -- kind regards Marco Send spam to abfall1751288...@stinkedores.d

Re: hibernate

2025-07-02 Thread Barry
> On 30 Jun 2025, at 21:32, Patrick Dupre wrote: > > Really? > my swap is not encrypted Maybe this fedora magazine article will help. See https://fedoramagazine.org/update-on-hibernation-in-fedora-workstation/ A secured system can be trivially hacked if the memory image can be read out of t

Re: hibernate

2025-07-02 Thread Tim via users
On Mon, 2025-06-30 at 15:01 +0200, Patrick Dupre via users wrote: > My laptop does not hibernate. > systemctl status sleep.target suspend.target hibernate.target > hybrid-sleep.target It might have been a good idea to show us the results... > Then > > systemctl hibernate &g

Re: hibernate

2025-07-02 Thread Patrick Dupre via users
used Jul  1 09:39:44 Sappho touchegg.desktop[3975]: Reconnecting in 5 seconds... Jul  1 09:39:49 Sappho touchegg.desktop[3975]: Error connecting to Touchégg daemon: Could not connect: Connection refused Jul  1 09:39:49 Sappho touchegg.desktop[3975]: Reconnecting in 5 seconds... Jul  1 09:39:54 Sappho touchegg.d

Re: hibernate

2025-07-02 Thread Barry
> On 30 Jun 2025, at 14:01, Patrick Dupre via users > wrote: > > Hello, > > My laptop does not hibernate. > systemctl status sleep.target suspend.target hibernate.target > hybrid-sleep.target > > Then > > systemctl hibernate > > But it is s

Re: hibernate

2025-07-02 Thread Patrick Dupre via users
> Hello, > > My laptop does not hibernate. > systemctl status sleep.target suspend.target hibernate.target > hybrid-sleep.target > > Then > > systemctl hibernate > > But it is still running, not sleeping. > > How can I force it? > > Thank In

hibernate

2025-06-30 Thread Patrick Dupre via users
Hello, My laptop does not hibernate. systemctl status sleep.target suspend.target hibernate.target hybrid-sleep.target Then systemctl hibernate But it is still running, not sleeping. How can I force it? Thank

Re: F42: instructions on setting up hibernate

2025-06-25 Thread Patrick O'Callaghan
nity support for Fedora users > > Subject: Re: F42: instructions on setting up hibernate > > > > On Thu, 2025-06-12 at 09:32 -0500, Ranjan Maitra via users wrote: > > > I have a new install of F42 on a Dell Latitude 7430 and was wondering > > > what

Re: F42: instructions on setting up hibernate

2025-06-24 Thread Ranjan Maitra via users
On Thu Jun12'25 04:05:09PM, Patrick O'Callaghan wrote: > From: Patrick O'Callaghan > Date: Thu, 12 Jun 2025 16:05:09 +0100 > To: users@lists.fedoraproject.org > Reply-To: Community support for Fedora users > Subject: Re: F42: instructions on setting up hibernate &g

Re: F42: instructions on setting up hibernate

2025-06-12 Thread Patrick O'Callaghan
On Thu, 2025-06-12 at 09:32 -0500, Ranjan Maitra via users wrote: > I have a new install of F42 on a Dell Latitude 7430 and was wondering what is > the latest way to get hibernate going? > > Is this recommended way? > > https://fedoramagazine.org/update-on-hibernation-in-

F42: instructions on setting up hibernate

2025-06-12 Thread Ranjan Maitra via users
I have a new install of F42 on a Dell Latitude 7430 and was wondering what is the latest way to get hibernate going? Is this recommended way? https://fedoramagazine.org/update-on-hibernation-in-fedora-workstation/ Many thanks and best wishes, Ranjan

Re: new F41 install: is swap partition no longer needed for hibernate?

2024-12-10 Thread Jonathan Billings
On Dec 9, 2024, at 06:07, Ranjan Maitra via users wrote: > # # for efi-based systems: # > > sudo bash -x grub2-mkconfig -o /boot/efi/EFI/fedora/grub.cfg Ack! Burn these instructions from your memory, this is the wrong path and can leave your system unable to update kernels! On any supported

Re: new F41 install: is swap partition no longer needed for hibernate?

2024-12-10 Thread Samuel Sieb
, several iterations ago, I used to create a separate swap partition (twice the size of RAM, though for very large RAM, I have been using 1x or 1.5x) and use that for hibernate. But now with zram0, do we no longer need a swap partition? If so, how is hibernate supposed to work? There is a lot of

Re: new F41 install: is swap partition no longer needed for hibernate?

2024-12-10 Thread Patrick O'Callaghan
l be able to get your > credentials out of the memory image saved when you hibernate. Remember to post in plaintext, or with a plaintext alternative. I had to do some extra clicking to read your reply. poc -- ___ users mailing list -- users@lists.fed

Re: new F41 install: is swap partition no longer needed for hibernate?

2024-12-10 Thread Samuel Sieb
laptop they may well be able to get your credentials out of the memory image saved when you hibernate. So that would be a concern about the physical security of your computer. -- ___ users mailing list -- users@lists.fedoraproject.org

Re: new F41 install: is swap partition no longer needed for hibernate?

2024-12-10 Thread Barry
On 10 Dec 2024, at 04:32, Samuel Sieb wrote:Got it, but what are the risks that I run by disabling it?On 12/9/24 7:20 PM, Ranjan Maitra via users wrote:On Mon Dec09'24 06:56:08PM, Samuel Sieb wrote:On 12/9/24 6:01 PM, Ranjan Maitra via users wrote:On Mon Dec09'24 05:22:12PM, Samuel Sieb wrote:If s

Re: new F41 install: is swap partition no longer needed for hibernate?

2024-12-09 Thread Samuel Sieb
On 12/9/24 7:20 PM, Ranjan Maitra via users wrote: On Mon Dec09'24 06:56:08PM, Samuel Sieb wrote: On 12/9/24 6:01 PM, Ranjan Maitra via users wrote: On Mon Dec09'24 05:22:12PM, Samuel Sieb wrote: If secure boot is enabled, you need to encrypt the swap partition, but I haven't had a chance to t

Re: new F41 install: is swap partition no longer needed for hibernate?

2024-12-09 Thread Ranjan Maitra via users
On Mon Dec09'24 06:56:08PM, Samuel Sieb wrote: > From: Samuel Sieb > Date: Mon, 9 Dec 2024 18:56:08 -0800 > To: users@lists.fedoraproject.org > Reply-To: Community support for Fedora users > Subject: Re: new F41 install: is swap partition no longer needed for > hibernate?

Re: new F41 install: is swap partition no longer needed for hibernate?

2024-12-09 Thread Samuel Sieb
onger needed for hibernate? On 12/8/24 5:57 PM, Ranjan Maitra via users wrote: I have not installed Fedora on a laptop for a while, and I am pretty confused with how to partition the disk: I do custom partition because I want a very big /home, and a reasonable / In the old past, several iteration

Re: new F41 install: is swap partition no longer needed for hibernate?

2024-12-09 Thread Ranjan Maitra via users
On Mon Dec09'24 05:22:12PM, Samuel Sieb wrote: > From: Samuel Sieb > Date: Mon, 9 Dec 2024 17:22:12 -0800 > To: users@lists.fedoraproject.org > Reply-To: Community support for Fedora users > Subject: Re: new F41 install: is swap partition no longer needed for > hibernate?

Re: new F41 install: is swap partition no longer needed for hibernate?

2024-12-09 Thread Samuel Sieb
a separate swap partition (twice the size of RAM, though for very large RAM, I have been using 1x or 1.5x) and use that for hibernate. But now with zram0, do we no longer need a swap partition? If so, how is hibernate supposed to work? There is a lot of discussion online: it appears that things

Re: new F41 install: is swap partition no longer needed for hibernate?

2024-12-09 Thread Samuel Sieb
On 12/9/24 3:21 PM, Samuel Sieb wrote: On 12/9/24 3:05 PM, Patrick O'Callaghan wrote: On Mon, 2024-12-09 at 15:45 -0700, Joe Zeff wrote: On 12/09/2024 03:33 PM, Ranjan Maitra via users wrote: Thanks! I use systemctl hibernate from the commandline though after it becomes stable, my plan

Re: new F41 install: is swap partition no longer needed for hibernate?

2024-12-09 Thread Tim via users
Ranjan Maitra: > > Thanks! I use systemctl hibernate from the commandline though after > > it becomes stable, my plan is to bind a key doing this. Joe Zeff: > You might want to think that over because all it takes is one typo and > you'll probably lose your train of thoug

Re: new F41 install: is swap partition no longer needed for hibernate?

2024-12-09 Thread Ranjan Maitra via users
On Mon Dec09'24 03:45:25PM, Joe Zeff wrote: > From: Joe Zeff > Date: Mon, 9 Dec 2024 15:45:25 -0700 > To: users@lists.fedoraproject.org > Reply-To: Community support for Fedora users > Subject: Re: new F41 install: is swap partition no longer needed for > hibernate? >

Re: new F41 install: is swap partition no longer needed for hibernate?

2024-12-09 Thread Samuel Sieb
On 12/9/24 3:21 PM, Samuel Sieb wrote: On 12/9/24 3:05 PM, Patrick O'Callaghan wrote: On Mon, 2024-12-09 at 15:45 -0700, Joe Zeff wrote: On 12/09/2024 03:33 PM, Ranjan Maitra via users wrote: Thanks! I use systemctl hibernate from the commandline though after it becomes stable, my plan

Re: new F41 install: is swap partition no longer needed for hibernate?

2024-12-09 Thread Samuel Sieb
On 12/9/24 3:05 PM, Patrick O'Callaghan wrote: On Mon, 2024-12-09 at 15:45 -0700, Joe Zeff wrote: On 12/09/2024 03:33 PM, Ranjan Maitra via users wrote: Thanks! I use systemctl hibernate from the commandline though after it becomes stable, my plan is to bind a key doing this. You

Re: new F41 install: is swap partition no longer needed for hibernate?

2024-12-09 Thread Patrick O'Callaghan
On Mon, 2024-12-09 at 15:45 -0700, Joe Zeff wrote: > On 12/09/2024 03:33 PM, Ranjan Maitra via users wrote: > > > Thanks! I use systemctl hibernate from the commandline though after it > > becomes stable, my plan is to bind a key doing this. > > You might want to think

Re: new F41 install: is swap partition no longer needed for hibernate?

2024-12-09 Thread Joe Zeff
On 12/09/2024 03:33 PM, Ranjan Maitra via users wrote: Thanks! I use systemctl hibernate from the commandline though after it becomes stable, my plan is to bind a key doing this. You might want to think that over because all it takes is one typo and you'll probably lose your tra

Re: new F41 install: is swap partition no longer needed for hibernate?

2024-12-09 Thread Ranjan Maitra via users
On Mon Dec09'24 10:02:06PM, Patrick O'Callaghan wrote: > From: Patrick O'Callaghan > Date: Mon, 09 Dec 2024 22:02:06 + > To: users@lists.fedoraproject.org > Reply-To: Community support for Fedora users > Subject: Re: new F41 install: is swap partition no

Re: new F41 install: is swap partition no longer needed for hibernate?

2024-12-09 Thread Patrick O'Callaghan
ve been H/W > but why this reliability in the first run? Perhaps I do not know, but would > that have not rule it out? > How are you activating the hibernation? Is this by (say) closing the lid, or is by an explicit command ('systemctl hibernate' or the

Re: new F41 install: is swap partition no longer needed for hibernate?

2024-12-09 Thread Ranjan Maitra via users
On Mon Dec09'24 04:32:00PM, Patrick O'Callaghan wrote: > From: Patrick O'Callaghan > Date: Mon, 09 Dec 2024 16:32:00 + > To: users@lists.fedoraproject.org > Reply-To: Community support for Fedora users > Subject: Re: new F41 install: is swap partition no

Re: new F41 install: is swap partition no longer needed for hibernate?

2024-12-09 Thread Patrick O'Callaghan
nity support for Fedora users > > Subject: Re: new F41 install: is swap partition no longer needed for > > hibernate? > > > > On Mon, 2024-12-09 at 06:31 -0600, Ranjan Maitra via users wrote: > > > I don't understand what this could be, and wonder what the i

Re: new F41 install: is swap partition no longer needed for hibernate?

2024-12-09 Thread Patrick O'Callaghan
the old past, several iterations ago, I used to create a separate swap > partition (twice the size of RAM, though for very large RAM, I have been > using 1x or 1.5x) and use that for hibernate. But now with zram0, do we no > longer need a swap partition? If so, how is hibernate supposed

Re: new F41 install: is swap partition no longer needed for hibernate?

2024-12-09 Thread Ranjan Maitra via users
On Mon Dec09'24 12:38:54PM, Patrick O'Callaghan wrote: > From: Patrick O'Callaghan > Date: Mon, 09 Dec 2024 12:38:54 + > To: users@lists.fedoraproject.org > Reply-To: Community support for Fedora users > Subject: Re: new F41 install: is swap partition no

Re: new F41 install: is swap partition no longer needed for hibernate?

2024-12-09 Thread Patrick O'Callaghan
On Mon, 2024-12-09 at 06:31 -0600, Ranjan Maitra via users wrote: > I don't understand what this could be, and wonder what the issue could be? Check the journal, e.g. 'journalctl -g hibernate'. Maybe also: $ systemctl list-units --failed followed by: $ systemctl status fo

Re: new F41 install: is swap partition no longer needed for hibernate?

2024-12-09 Thread Ranjan Maitra via users
ew F41 install: is swap partition no longer needed for > hibernate? > > Thank you! > > So, in the past, for an ext4 system, which is what I have, I used to do the > following: > > > sudo vi /etc/default/grub > > add --> resume=UUID="" <-- to the line

Re: new F41 install: is swap partition no longer needed for hibernate?

2024-12-09 Thread Patrick O'Callaghan
en reboot. > > So, we basically ignore the zram0? Keep the zram. It makes a real difference to performance. However you can add some systemd units to disable it when hibernating, e.g.: $ cat /etc/systemd/system/hibernate-preparation.service [Unit] Description=Enable swap file and disable zr

Re: new F41 install: is swap partition no longer needed for hibernate?

2024-12-09 Thread Ranjan Maitra via users
Date: Mon, 09 Dec 2024 10:36:52 + > To: users@lists.fedoraproject.org > Reply-To: Community support for Fedora users > Subject: Re: new F41 install: is swap partition no longer needed for > hibernate? > > On Sun, 2024-12-08 at 20:54 -0600, Ranjan Maitra via users wrote: >

Re: new F41 install: is swap partition no longer needed for hibernate?

2024-12-09 Thread Patrick O'Callaghan
On Sun, 2024-12-08 at 20:54 -0600, Ranjan Maitra via users wrote: > Thanks! So, should I not bother with setting up a swap partition? And is > hibernate supposed to work out of the box automagically? (I am talking of F41 > if it matters.) > > Many thanks again, and best

Re: new F41 install: is swap partition no longer needed for hibernate?

2024-12-08 Thread Robin Laing
users Subject: Re: new F41 install: is swap partition no longer needed for hibernate? On Sun, 2024-12-08 at 19:57 -0600, Ranjan Maitra via users wrote: I have not installed Fedora on a laptop for a while, and I am pretty confused with how to partition the disk: I do custom partition because I want a

Re: new F41 install: is swap partition no longer needed for hibernate?

2024-12-08 Thread Ranjan Maitra via users
ew F41 install: is swap partition no longer needed for > hibernate? > > On Sun, 2024-12-08 at 19:57 -0600, Ranjan Maitra via users wrote: > > I have not installed Fedora on a laptop for a while, and I am pretty > > confused with how to partition the disk: I do custom partition > >

Re: new F41 install: is swap partition no longer needed for hibernate?

2024-12-08 Thread Tim via users
On Sun, 2024-12-08 at 19:57 -0600, Ranjan Maitra via users wrote: > I have not installed Fedora on a laptop for a while, and I am pretty > confused with how to partition the disk: I do custom partition > because I want a very big /home, and a reasonable / It's been a while since I did it, but I th

new F41 install: is swap partition no longer needed for hibernate?

2024-12-08 Thread Ranjan Maitra via users
RAM, though for very large RAM, I have been using 1x or 1.5x) and use that for hibernate. But now with zram0, do we no longer need a swap partition? If so, how is hibernate supposed to work? There is a lot of discussion online: it appears that things changed around F38 and even later, and also I

F40 -> F41: no wakeup from hibernate after dnf upgrade

2024-12-07 Thread Ranjan Maitra via users
to F41 from F40, the system no longer wakes up from hibernate. I seem to think that this has never happened over multiple releases for this machine that has been updated every night, and upgraded every six months, since that first installation. What happens is that it goes into "Booting F

Re: Possible timezone error on resume from hibernate - SOLVED

2023-07-21 Thread Barry
> On 21 Jul 2023, at 05:31, Tim via users wrote: > > There are difficulties in Windows handling the > hardware clock set to UTC I have been dual booting fedora and windows 10/11 for a very long time. there are no issues with the bios clock being in utc i have every encountered. Barry __

Re: Possible timezone error on resume from hibernate - SOLVED

2023-07-21 Thread Patrick O'Callaghan
On Thu, 2023-07-20 at 22:15 -0400, Jeffrey Walton wrote: > > My main point was about during installation.  There used to be a > > very > > obvious checkbox for hardware clock is set to UTC.  I don't recall > > that > > being the case for a long time. > > I think Tim is correct. There used to be a

Re: Possible timezone error on resume from hibernate - SOLVED

2023-07-20 Thread Tim via users
On Thu, 2023-07-20 at 22:15 -0400, Jeffrey Walton wrote: > I think Tim is correct. There used to be a checkbox about the hardware > clock. (Maybe it is still there?) If it is, I don't think it was obvious. I don't recall seeing it for a long time. > But I don't think the user is to blame. Users

Re: Possible timezone error on resume from hibernate - SOLVED

2023-07-20 Thread Jeffrey Walton
On Thu, Jul 20, 2023 at 8:41 PM Tim via users wrote: > > Tim: > >> I seem to remember it used to be quite straight-forward to set up a > >> new installation with the clock set to UTC. Now it's far less > >> obvious how its been configured, and to tell it to do what you want. > > Patrick O'Callagh

Re: Possible timezone error on resume from hibernate - SOLVED

2023-07-20 Thread Tim via users
Tim: >> I seem to remember it used to be quite straight-forward to set up a >> new installation with the clock set to UTC. Now it's far less >> obvious how its been configured, and to tell it to do what you want. Patrick O'Callaghan: > To check, just run 'timedatectl' with no arguments: > > $ ti

Re: Possible timezone error on resume from hibernate - SOLVED

2023-07-20 Thread Patrick O'Callaghan
On Thu, 2023-07-20 at 22:19 +0930, Tim via users wrote: > On Thu, 2023-07-20 at 10:51 +0100, Patrick O'Callaghan wrote: > > Not a bug, just user error (my own). Turns out my hardware clock > > was > > set to local time, which is not recommended. The fix: > > > > # timedatectl set-local-rtc 0 > >

Re: Possible timezone error on resume from hibernate - SOLVED

2023-07-20 Thread Tim via users
On Thu, 2023-07-20 at 10:51 +0100, Patrick O'Callaghan wrote: > Not a bug, just user error (my own). Turns out my hardware clock was > set to local time, which is not recommended. The fix: > > # timedatectl set-local-rtc 0 I seem to remember it used to be quite straight-forward to set up a new in

Re: Possible timezone error on resume from hibernate - SOLVED

2023-07-20 Thread Patrick O'Callaghan
On Mon, 2023-07-17 at 12:20 +0100, Patrick O'Callaghan wrote: > My system hibernates and powers down at 1:30am, and is woken up by a > smart plug powering it on at 8am. This is working (touch wood) and > the > system verifiably wakes up at 8am. However the journal logs of the > resume event show 9a

Re: Possible timezone error on resume from hibernate

2023-07-18 Thread Patrick O'Callaghan
On Tue, 2023-07-18 at 06:09 +0100, Barry wrote: > > > > On 17 Jul 2023, at 22:15, Patrick O'Callaghan > > wrote: > > > > That would imply that either all entries are shifted, or none are, > > which is not what I observe. > > You have confirmed that the system powers on at 08:00 BST. > But the

Re: Possible timezone error on resume from hibernate

2023-07-17 Thread Barry
> On 17 Jul 2023, at 22:15, Patrick O'Callaghan wrote: > > That would imply that either all entries are shifted, or none are, > which is not what I observe. You have confirmed that the system powers on at 08:00 BST. But the logs are for 09:00 when you view them with journalctl for events while

Re: Possible timezone error on resume from hibernate

2023-07-17 Thread Patrick O'Callaghan
On Mon, 2023-07-17 at 17:57 +0100, Barry wrote: > > > > On 17 Jul 2023, at 13:46, George N. White III > > wrote: > > > > I see something similar.  I assume the system starts on hardware > > clock time, then > > after file systems are up the localtime data are used. > > Journal entries are all

Re: Possible timezone error on resume from hibernate

2023-07-17 Thread Barry
> On 17 Jul 2023, at 13:46, George N. White III wrote: > > I see something similar. I assume the system starts on hardware clock time, > then > after file systems are up the localtime data are used. Journal entries are all utc and local time is applied only on display with journalctl is my

Re: Possible timezone error on resume from hibernate

2023-07-17 Thread Patrick O'Callaghan
On Mon, 2023-07-17 at 09:45 -0300, George N. White III wrote: > On Mon, Jul 17, 2023 at 8:21 AM Patrick O'Callaghan > > wrote: > > > My system hibernates and powers down at 1:30am, and is woken up by > > a > > smart plug powering it on at 8am. This is working (touch wood) and > > the > > system v

Re: Possible timezone error on resume from hibernate

2023-07-17 Thread George N. White III
On Mon, Jul 17, 2023 at 8:21 AM Patrick O'Callaghan wrote: > My system hibernates and powers down at 1:30am, and is woken up by a > smart plug powering it on at 8am. This is working (touch wood) and the > system verifiably wakes up at 8am. However the journal logs of the > resume event show 9am,

Possible timezone error on resume from hibernate

2023-07-17 Thread Patrick O'Callaghan
My system hibernates and powers down at 1:30am, and is woken up by a smart plug powering it on at 8am. This is working (touch wood) and the system verifiably wakes up at 8am. However the journal logs of the resume event show 9am, even though once fully resumed the time is correct. The difference wo

Re: Not enough swap space to hibernate

2023-07-15 Thread Patrick O'Callaghan
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: >

Re: Not enough swap space to hibernate

2023-07-15 Thread Francis . Montagnac
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

Re: Not enough swap space to hibernate

2023-07-15 Thread Patrick O'Callaghan
gt; > I would expect to see swapfile_t there. > > > > > > I'll try adding that. > > > > > Do you have the selinux error message? > > > > > > As I've mentioned, the only error is in the journal: > > > > > > Jul 14 22

Re: Not enough swap space to hibernate

2023-07-15 Thread Patrick O'Callaghan
> > Do you have the selinux error message? > > > > As I've mentioned, the only error is in the journal: > > > > Jul 14 22:10:37 Bree systemd-sleep[51364]: Failed to find location > > to hibernate to: Permission denied > > Jul 14 22:10:37 Bree syste

Re: Not enough swap space to hibernate

2023-07-14 Thread Jeffrey Walton
apfile_t there. > > Do you have the selinux error message? > > As I've mentioned, the only error is in the journal: > > Jul 14 22:10:37 Bree systemd-sleep[51364]: Failed to find location to > hibernate to: Permission denied > Jul 14 22:10:37 Bree syst

Re: Not enough swap space to hibernate

2023-07-14 Thread Patrick O'Callaghan
gt; > $ ls -lZ /SWAP/swapfile > > -rw---. 1 root root unconfined_u:object_r:default_t:s0 > > 34359738368 Jul 12 12:46 /SWAP/swapfile > > I pressed send too quickly.  "ls -alZ /SWAP" > # ls -lZ /SWAP total 33554436 -rw-r--r--. 1 root root unconfined_u:object

Re: Not enough swap space to hibernate

2023-07-14 Thread Samuel Sieb
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

Re: Not enough swap space to hibernate

2023-07-14 Thread Patrick O'Callaghan
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 > > >

Re: Not enough swap space to hibernate

2023-07-14 Thread Samuel Sieb
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,

Re: Not enough swap space to hibernate

2023-07-14 Thread Patrick O'Callaghan
ry 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://list

Re: Not enough swap space to hibernate

2023-07-13 Thread Samuel Sieb
list=users%40lists.fedoraproject.org&q=SELinux+hibernate+[SOLVED] This looks like it: https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org/message/NGWKBKJUOMB6KODGVXZYG5MZQ7CGLEJQ/ So I followed that (i.e. applied 'restorecon -v /SWAP', where /SWAP is a Btrfs subvolume hold

Re: Not enough swap space to hibernate

2023-07-13 Thread Patrick O'Callaghan
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.fedoraproje

Re: Not enough swap space to hibernate

2023-07-13 Thread Patrick O'Callaghan
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

  1   2   3   4   5   6   7   8   >