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

Nikolaus Rath Nikolaus at rath.org
Mon Jul 23 10:55:07 BST 2018


On Jul 22 2018, Ben Hutchings <ben at decadent.org.uk> wrote:
> On Sat, 2018-07-21 at 10:54 +0100, Nikolaus Rath wrote:
>> On Jul 21 2018, Ben Hutchings <ben at decadent.org.uk> wrote:
>> > > > 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.
>> > > 
>> > > Is there a distro-agnostic way to determine whether it's safe to
>> > > hibernate or not?
>> 
>> [...]
>> > 
>> > The best I can suggest at this point is that you completely disable
>> > hibernation until we sort our shit out on the kernel side.
>> 
>> But is there any reason not to honor /run/do-not-hibernate until that's
>> been sorted out? It is far from a good solution, but it's still an
>> improvement over the status quo.
>
> I suppose this wouldn't hurt.  But that file is only created by pm-
> utils, which isn't part of the standard system or (so far as I can see)
> any of the desktop or laptop tasks.

Oh, bummer. I thought that file would be created by the kernel package
itself in its postinst. Wouldn't this be a good idea?


Best,
-Nikolaus

-- 
GPG Fingerprint: ED31 791B 2C5C 1613 AF38 8B8A D113 FCAC 3C4E 599F

             »Time flies like an arrow, fruit flies like a Banana.«
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 1011 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/pkg-systemd-maintainers/attachments/20180723/4b5b32bb/attachment-0002.sig>


More information about the Pkg-systemd-maintainers mailing list