[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Preventing the computer from shutting down.



Am 31.10.2014 um 07:07 schrieb Don Armstrong:
> 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.

That sounds like a real bug, yes. And worth bringing up upstream.

Feel free to file a bug against the Debian package, so we don't forget
about this.



-- 
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?

Attachment: signature.asc
Description: OpenPGP digital signature


Reply to: