Re: [systemd-devel] logind's .PowerOff and .Reboot methods doesn't seem to respect inhibitors

2015-12-09 Thread Mantas Mikulėnas
On Wed, Dec 9, 2015 at 10:20 PM, Troels Mæhl Folke < t.r.o.e.l.s@gmail.com> wrote: > Hello, > > I've had problems getting systemd-logind to respect shutdown inhibitors > when > I ask it over DBus to power off or reboot. > > Here is what I've tried: > > In one gnome-terminal as non-root, I

[systemd-devel] logind's .PowerOff and .Reboot methods doesn't seem to respect inhibitors

2015-12-09 Thread Troels Mæhl Folke
Hello, I've had problems getting systemd-logind to respect shutdown inhibitors when I ask it over DBus to power off or reboot. Here is what I've tried: In one gnome-terminal as non-root, I type: systemd-inhibit --what=shutdown --mode=block --who=unison unison-gtk2 ...to set up the inhibitor.