Bug#902416: systemd: systemctl hibernate: unable to resume after upgrade

Michael Biebl biebl at debian.org
Tue Jul 10 09:54:13 BST 2018


Am 09.07.2018 um 05:56 schrieb Mario.Limonciello at dell.com:

> I think I have an understanding on what's happening here.  So when you configured
> your system to have a RESUME= variable on the DEFAULT kernel command line then
> the kernel chooses to fill this one at bootup (hence the 8:8).  This kernel command line
> is also what's passed to the initramfs, so even if you didn't configure that resume file
> it's what is used for resuming.
> 
> Now the systemd changes have messed this up for you because they are writing to the
> biggest swap (changing your 8:8).
> 
> As a simple fix, I expect if you change your RESUME= to the other swap partition your
> resume behavior will be fine.
> 
> That being said, I think it makes sense to amend the systemd logic to also look for the
> kernel command line RESUME= variable and choose that if the user had put it on kernel
> command line.

Thanks for your feedback, Mario.

I agree that systemd should respect what's setup in RESUME (by parsing
/proc/cmdline). It should probably also check if /sys/power/resume has
already been setup.

At this point I guess we should take this upstream. I'll file a
corresponding bug report.

-- 
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <http://alioth-lists.debian.net/pipermail/pkg-systemd-maintainers/attachments/20180710/cc5aed11/attachment-0002.sig>


More information about the Pkg-systemd-maintainers mailing list