bug-hurd
[Top][All Lists]
Advanced

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

Re: problems with a subhurd


From: Justus Winter
Subject: Re: problems with a subhurd
Date: Mon, 28 Nov 2016 10:34:07 +0100

Hello,

Olaf Buddenhagen <olafbuddenhagen@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

Attachment: signature.asc
Description: PGP signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]