Date: Sat, 31 Jan 2004 11:04:35 +0300 From: Mike Makonnen <mtm@identd.net> To: Dag-Erling Sm?rgrav <des@des.no> Cc: arch@FreeBSD.org Subject: Re: init(8) in jails Message-ID: <20040131080435.GA1172@mobile.acsolutions.com> In-Reply-To: <xzp65et74kz.fsf@dwp.des.no> References: <xzp65et74kz.fsf@dwp.des.no>
next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, Jan 30, 2004 at 06:02:04PM +0100, Dag-Erling Sm?rgrav wrote: > Currently, the preferred mechanism to set up a virtual server in a > jail is 'jail /path/to/jail jail.host.name 1.2.3.4 /etc/rc'. > > How about modifying init instead and teach it how to run a jail? The > advantages of that approach would include the ability to send a signal > to a jailed init to have it run /etc/rc.shutdown inside the jail and > terminate the jail cleanly; currently, there is no clean method of > terminating a jail. I'm about to commit a patch submitted by someone else that will allow people to shutdown individual jails from /etc/rc.d/jail. Cheers. -- Mike Makonnen | GPG-KEY: http://www.identd.net/~mtm/mtm.asc mtm@identd.net | Fingerprint: 00E8 61BC 0D75 7FFB E4D3 6BF1 B239 D010 3215 D418 mtm@FreeBSD.Org| FreeBSD - Unleash the Daemon !
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040131080435.GA1172>