Re: [systemd-devel] Can't Inhibit shutdown with logind

2013-06-04 Thread Lennart Poettering
On Tue, 28.05.13 01:28, Brendan J (bhenryj0...@googlemail.com) wrote: > Hi all, > > I'm trying to use the Inhibit() API exposed by logind on dbus > (org.freedesktop.login1.Manager) to prevent shutdown. > The call seems superficially to have worked, as the result from > ListInhibitors() includes t

Re: [systemd-devel] Can't Inhibit shutdown with logind

2013-06-01 Thread Andrey Borzenkov
В Tue, 28 May 2013 01:28:48 +0100 Brendan J пишет: > Hi all, > > I'm trying to use the Inhibit() API exposed by logind on dbus > (org.freedesktop.login1.Manager) to prevent shutdown. > The call seems superficially to have worked, as the result from > ListInhibitors() includes the block I created

[systemd-devel] Can't Inhibit shutdown with logind

2013-06-01 Thread Brendan J
Hi all, I'm trying to use the Inhibit() API exposed by logind on dbus (org.freedesktop.login1.Manager) to prevent shutdown. The call seems superficially to have worked, as the result from ListInhibitors() includes the block I created. However my machine is not prevented from shutting down. I'm pr