Hello,

I'm using ArchLinux which currently uses systemd 198.

I try to inhibit the power key to get sure systemd doesn't shut down if it is pressed. My testcase is as follows:

# systemd-inhibit --what=handle-power-key --mode=block sleep 1000000

Now I switch to another shell to check if the inhibitor is listed:

# systemd-inhibit --list
     Who: sleep 1000000 (UID 0, PID 222)
    What: handle-power-key
     Why: Unknown reason
    Mode: block

1 inhibitors listed.

After doing so and getting sure the inhibitor really is listed, I hit the power key and... the system is shutting down...

For me it seems like something caused this whole thing to get broken. Can someone reproduce or is this only broken on ArchLinux?

Yours

Manuel Reimer

_______________________________________________
systemd-devel mailing list
systemd-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/systemd-devel

Reply via email to