Bug#749832: systemd: ignores /run/do-not-hibernate, hibernates after kernel update
Nikolaus Rath
Nikolaus at rath.org
Sat May 31 05:00:12 BST 2014
On 05/30/2014 10:46 AM, Michael Biebl wrote:
> Am 30.05.2014 18:34, schrieb Nikolaus Rath:
>>>
>>> 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.
>>
>> Well, in my case I'm calling 'systemctl hibernate' from the command
>> line, so a simple message to the console would do.
>
> Do you want to work on such a patch?
> You'd have to implement this check in systemd (or logind) and then
> communicate the failure reason back to the caller.
> That requires updates to the D-Bus interface etc.
Sorry, no. I'm not familiar with D-Bus at all. I'll just create wrapper
script for systemctl hibernate that does the check, and I assume that's
not quite suitable for inclusion in the Debian package...
Best,
-Nikolaus
--
GPG encrypted emails preferred. Key id: 0xD113FCAC3C4E599F
Fingerprint: ED31 791B 2C5C 1613 AF38 8B8A D113 FCAC 3C4E 599F
»Time flies like an arrow, fruit flies like a Banana.«
More information about the Pkg-systemd-maintainers
mailing list