[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Shepherd should not reboot on exit when running as root
From: |
Ludovic Courtès |
Subject: |
Re: Shepherd should not reboot on exit when running as root |
Date: |
Sat, 05 Feb 2022 14:51:31 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) |
Hello!
Arun Isaac <arunisaac@systemreboot.net> skribis:
> If shepherd is run as root, it assumes it is the init system and reboots
> the system. Since shepherd is not just an init system, but can also be
> used as a non-init process to manage other daemons, this is probably not
> good default behaviour. At the very least, it would be nice to have a
> command-line option to disable this behaviour.
>
> Just yesterday, I was tinkering with shepherd on a production server
> running Debian as the host system, and ended up accidentally rebooting
> it. Needless to say, I went through much pain and suffering! :-) I
> suppose I should count myself very lucky that it didn't halt the system!
> :-P
Oops, fixed in 7c380590164ea8ee40de46059d07e08a48963577, thanks!
Ludo’.
- Re: Shepherd should not reboot on exit when running as root,
Ludovic Courtès <=