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

Michael Biebl biebl at debian.org
Fri May 30 17:20:56 BST 2014


Am 30.05.2014 17:58, schrieb Nikolaus Rath:
> 
> - new kernel is silently installed by unattended-upgrades (apparently
> this happens even when the new package breaks the ABI) and becomes the
> default to be loaded by the bootloader
> - there's no visible indication that this happened, so I hibernate as usual

IIRC under GNOME we show a reboot required notification when a new
kernel is installed

> - when I reboot, I automatically end up with the new kernel (still
> without me being aware of it)

Well, the grub menu entry carries the kernel version in the description.
But I acknowledge that one can miss that.

> - when the resume fails and the system reboots again, I realize that
> there is a problem, but at that point it's too late. I can no longer
> resume, and the hibernated system state is lost.

The problem with simply doing nothing on hibernate when
/run/do-not-hibernate exists, is that this is also not visible to the
user since there there is no API to communicate that to the user why
hibernate did not succeed.

I think the only practical solution to this, is if the desktop
environment warns/informs you about this issue (and ideally disables the
hibernate functionality)

-- 
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/8439be61/attachment-0002.sig>


More information about the Pkg-systemd-maintainers mailing list