Re: [systemd-devel] diverting HandlePowerKey

2012-08-17 Thread Robin Becker
On 16/08/2012 18:36, Lennart Poettering wrote: .. Invoke the PowerOff() call on the org.freedesktop.login1.Manager interface of the /org/freedesktop/login1 object on the org.freedesktop.login1 service. Which is basically what "systemctl poweroff" does. thanks for this. I think my rout

Re: [systemd-devel] [PATCH] main: fix error message if PR_SET_CHILD_REAPER is not available

2012-08-17 Thread Marius Tolzmann
Hi.. On 08/17/12 02:44, shawn wrote: > On Thu, 2012-08-16 at 18:38 +0200, Marius Tolzmann wrote: >> --- >> +if (r < 0 && errno == EINVAL) >> log_error("Perhaps the kernel version is too old (< >> 3.4?)"); > > PR_SET_CHILD_SUBREAPER made it into 3.3, so