F18: when closing the lid, pm/sleep.d hooks not being run

Pedro Francisco pedrogfrancisco at gmail.com
Sat Feb 2 02:04:15 UTC 2013


On Thu, Jan 31, 2013 at 1:44 PM, Kamil Paral <kparal at redhat.com> wrote:
>> /etc/pm/sleep.d/* hooks are not being run when closing the lid.
>>
>> For example, I just resumed my laptop and a script on
>> /etc/pm/sleep.d/
>> which just logs each time it gets called has not been called.
>>
>> They seem to run when I select "suspend" from the menu.
>>
>> 1) can anyone else verify?
>> 2) is this a bug? Or a feature?
>
> It's this:
> https://bugzilla.gnome.org/show_bug.cgi?id=690713
>
> and this:
> https://bugs.freedesktop.org/show_bug.cgi?id=58950
>
> Probably not a bug from developer perspective. But the current situation is a mess, that's true.


I think I'll open a bug report anyway, and refer those two bugs there.

Though the reason is specified there on those two bugs, sleep hooks
are by definition to be run when sleeping/resuming, so I'm guessing
even though this is an 'infrastructure' problem, it may be of use to
document yet another effect, which is the hooks not being run.

Thank you for your help,
--
Pedro


More information about the test mailing list