init(8) in jails
Mike Makonnen
mtm at identd.net
Sat Jan 31 00:05:33 PST 2004
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 at identd.net | Fingerprint: 00E8 61BC 0D75 7FFB E4D3 6BF1 B239 D010 3215 D418
mtm at FreeBSD.Org| FreeBSD - Unleash the Daemon !
More information about the freebsd-arch
mailing list