Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 16 May 2002 09:52:54 -0700 (PDT)
From:      Patrick Thomas <root@utility.clubscholarship.com>
To:        "Marc G. Fournier" <scrappy@hub.org>
Cc:        <freebsd-hackers@freebsd.org>
Subject:   Re: reboot your own jail ?
Message-ID:  <20020516095228.R79837-100000@utility.clubscholarship.com>
In-Reply-To: <20020516132640.N6260-100000@mail1.hub.org>

next in thread | previous in thread | raw e-mail | index | archive | help

why -TERM ?  the jail man page recommends -KILL ... just curious...

On Thu, 16 May 2002, Marc G. Fournier wrote:

>
> web interface that is password protected that does:
>
> 	ssh root@<jail> kill -TERM -1
> 	<restart jail>
>
>
>
>
> On Thu, 16 May 2002, 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.
> >
> > --pt
> >
> >
> > To Unsubscribe: send mail to majordomo@FreeBSD.org
> > with "unsubscribe freebsd-hackers" in the body of the message
> >
>
>


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message




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