Hello, Olaf Buddenhagen <olafbuddenha...@gmx.net> writes: > On Sun, Sep 04, 2016 at 12:34:09PM +0200, Justus Winter wrote: > >> I recommend against shutting down subhurds. > > This is a regression, though -- I'm pretty sure I used `halt` and/or > `reboot` in subhurds in the past. (Sometimes it failed; but it never > broke my main instance IIRC...)
Ok, let me clarify: I recommend against shuttind down subhurds running sysvinit, like Debian. Sysvinit shutdown of the subhurd will killall processes of the parent hurd. If you must, always use 'halt -f', or 'halt-hurd'. This will circumvent the sysvinit shutdown, and merely execute the hurd shutdown, which is safe. Also let me stress that this is not a regression. Traditional subhurds were very careful not to harm the parent hurd despite having the privileges to do so. We have extra code in /hurd/startup dealing with being a "nice" privileged subhurd. However, that has never been robust, the parents processes were always accessible from the subhurd. In any case, with the new unprivileged subhurds any shutdown procedure is fine. Justus
signature.asc
Description: PGP signature