On Thu, 30 Oct 2014, Joey Hess wrote:
> Don Armstrong wrote:
> > systemd-inhibit --who='backup script' --why='backup is running currently' \
> >  --mode=block yourbackupscript;
> 
> This doesn't currently prevent either /sbin/shutdown or eg, the
> lightdm menu item from shutting the system down. It does inhibit
> systemctl reboot/halt.

Huh. That seems kind of unfortunate (and weird, because /sbin/shutdown
is symlinked to systemctl here; I would have expected /sbin/shutdown to
be a special case of systemctl halt.)

This is probably at least a documentation bug, and possibly a real bug.

-- 
Don Armstrong                      http://www.donarmstrong.com

Life would be way easier
if I were easier.
 -- a softer world #473
    http://www.asofterworld.com/index.php?id=473


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/20141031060727.gi14...@teltox.donarmstrong.com

Reply via email to