Bug#749832: systemd: ignores /run/do-not-hibernate, hibernates after kernel update

Michael Biebl biebl at debian.org
Fri May 30 14:06:50 BST 2014


Am 30.05.2014 04:11, schrieb Nikolaus Rath:
> Package: systemd
> Version: 204-8
> Severity: grave
> Justification: causes non-serious data loss
> 
> 'systemctl hibernate' (and probably other methods to hibernate when
> systemd is installed, I tested only the command) hibernates the system
> even if a new kernel package has been installed and /vmlinuz no longer
> points to the currently running kernel.
> 
> If this happens, and the system is booted again, the bootloader will
> load the new kernel, and then try to resume using the image stored by
> the old kernel. As far as I can tell, the system then marks the
> hibernation image as broken, reboots automatically and, on the second
> attempt, boots the system using the new kernel without resuming. At this
> point, any data that was available in the hibernated session but not
> written to disk is lost.
> 
> Prior to installing systemd, hibernating was not possible after a kernel
> update. I believe the mechanism to prevent it was a
> /run/do-not-hibernate file that is not used by systemd.

I downgraded the severity bug for two reasons:
- if a kernel with a new ABI is installed, the old one is not removed
automatically, so you can still boot/resume with that kernel
- if a kernel is updated but the ABI is the same, resuming with the new
kernel should work


-- 
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: 884 bytes
Desc: OpenPGP digital signature
URL: <http://alioth-lists.debian.net/pipermail/pkg-systemd-maintainers/attachments/20140530/53790335/attachment-0002.sig>


More information about the Pkg-systemd-maintainers mailing list