Re: init(8) in jails

From: Mike Makonnen (mtm_at_identd.net)
Date: 01/31/04


Date: Sat, 31 Jan 2004 11:04:35 +0300
To: Dag-Erling Sm?rgrav <des@des.no>

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 !
_______________________________________________
freebsd-arch@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-arch
To unsubscribe, send any mail to "freebsd-arch-unsubscribe@freebsd.org"


Relevant Pages

  • Re: init(8) in jails
    ... the preferred mechanism to set up a virtual server in a ... > How about modifying init instead and teach it how to run a jail? ... > terminate the jail cleanly; currently, there is no clean method of ...
    (freebsd-arch)
  • init(8) in jails
    ... the preferred mechanism to set up a virtual server in a ... How about modifying init instead and teach it how to run a jail? ... terminate the jail cleanly; currently, there is no clean method of ...
    (freebsd-arch)
  • Re: File system quotas in jails
    ... >> mentioned each jail (virtual server) has its own file system ... > Please quote him. ... the jail setup Marcus was referring to. ... Uwe Doering ...
    (comp.unix.bsd.freebsd.misc)
  • Re: FreeBSD Virtual Server
    ... how do you implement your virtual server? ... jail or anything else? ... To unsubscribe, ...
    (freebsd-stable)
  • Re: jail extensions
    ... I started to write some extension for jail. ... when each virtual server has its own resources and limits ... storage for any context related data such as uid hash, ... Process count limit and separated uid hash ...
    (freebsd-arch)