On Thu, May 16, 2002 at 12:36:44AM -0700, Patrick Thomas wrote:
> 
> currently I reboot jails with this process:
> 
>       1. someone logs into the jail and runs `kill -KILL -1`
>       2. someone logs onto the BASE machine and starts it up again.
> 
> I wish I could do this without involving the admin of the base machine.
> 
> Has anyone come up with a strategy for allowing the root jail user to
> successfully reboot their own jail without outside help ?
> 
> I can think of some horrible hacks involving constantly checking if the
> jail is running....and if it ever stops (presumably someone rebooted it)
> then start it again...hopefully there is sonhmething more elegant than
> that.

In theory, you could use ports/sysutils/daemontools/, specifically
the 'supervise' utility.  I have been thinking about setting up
a jail using a supervised service for some time now, never had the time
to actually sit down and do it, though..

G'luck,
Peter

-- 
Peter Pentchev  [EMAIL PROTECTED]        [EMAIL PROTECTED]
PGP key:        http://people.FreeBSD.org/~roam/roam.key.asc
Key fingerprint FDBA FD79 C26F 3C51 C95E  DF9E ED18 B68D 1619 4553
What would this sentence be like if pi were 3?

Attachment: msg34420/pgp00000.pgp
Description: PGP signature

Reply via email to