Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 12 Dec 2004 04:35:09 +0000 (GMT)
From:      Nielsen <nielsen@memberwebs.com>
Cc:        freebsd-hackers@freebsd.org
Subject:   Re: rc.shutdown and jails
Message-ID:  <20041212043508.8C551840B0D@mail.npubs.com>
References:  <20041210180332.GA27788@engelschall.com> <20041210234157.478BF840325@mail.npubs.com> <20041211082857.GA5218@engelschall.com> <41BAB35C.8030401@elischer.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Julian Elischer wrote:
> I think we should introduce an "init" process for jails..
> 
> It would be responsible for all that the normal init is responsible for
> except for being the default parent.. (some might argue for that too).
> Sending it a particular signal would notify it to
> send shutdown signals to all its compatriots in the jail etc.

This was necessary pre 5.2. Now that's it's possible to do all of this 
from the host system (by adding a process to a jail) there's no real 
need for  an init type process anymore.

As Michal mentioned, utilities like 'jailer' or 'kjailer' used to be 
necessary, but now a few simple utilities or scripts can manage a jail 
from the host system just fine. If these utilities were found in FreeBSD 
itself, it would round out the jail side of things nicely.

Of course I'm partial to my own 'jailutils' but others that served the 
same purpose would work just as well.

http://memberwebs.com/nielsen/freebsd/jails/jailutils/

The only thing I miss from this change is the inability to have per-jail 
consoles (which was possible with the 'jailer' package in 4.x), but 
that's another topic.

Cheers,
Nate



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20041212043508.8C551840B0D>