Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 16 May 2002 14:41:59 +0300
From:      Peter Pentchev <roam@ringlet.net>
To:        Patrick Thomas <root@utility.clubscholarship.com>
Cc:        freebsd-hackers@freebsd.org
Subject:   Re: reboot your own jail ?
Message-ID:  <20020516144159.C349@straylight.oblivion.bg>
In-Reply-To: <20020516003127.I17484-100000@utility.clubscholarship.com>; from root@utility.clubscholarship.com on Thu, May 16, 2002 at 12:36:44AM -0700
References:  <20020516003127.I17484-100000@utility.clubscholarship.com>

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

--ncSAzJYg3Aa9+CRW
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Thu, May 16, 2002 at 12:36:44AM -0700, Patrick Thomas wrote:
>=20
> currently I reboot jails with this process:
>=20
> 	1. someone logs into the jail and runs `kill -KILL -1`
> 	2. someone logs onto the BASE machine and starts it up again.
>=20
> I wish I could do this without involving the admin of the base machine.
>=20
> Has anyone come up with a strategy for allowing the root jail user to
> successfully reboot their own jail without outside help ?
>=20
> 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

--=20
Peter Pentchev	roam@ringlet.net	roam@FreeBSD.org
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?

--ncSAzJYg3Aa9+CRW
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (FreeBSD)

iD8DBQE845sH7Ri2jRYZRVMRAiUoAJ943CAiBrLZGwHd+9RflWnNI7ci9gCfZHoy
yT8WrIm6ZzB/HgFiv3+YoAM=
=rc+X
-----END PGP SIGNATURE-----

--ncSAzJYg3Aa9+CRW--

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?20020516144159.C349>