Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 16 May 2002 18:04:14 +0300
From:      Peter Pentchev <roam@ringlet.net>
To:        "Karsten W. Rohrbach" <karsten@rohrbach.de>
Cc:        Attila Nagy <bra@fsn.hu>, Patrick Thomas <root@utility.clubscholarship.com>, freebsd-hackers@FreeBSD.org
Subject:   Re: reboot your own jail ?
Message-ID:  <20020516180414.H349@straylight.oblivion.bg>
In-Reply-To: <20020516162219.E45898@mail.webmonster.de>; from karsten@rohrbach.de on Thu, May 16, 2002 at 04:22:19PM %2B0200
References:  <20020516003127.I17484-100000@utility.clubscholarship.com> <20020516144159.C349@straylight.oblivion.bg> <Pine.LNX.4.44.0205161348501.26003-100000@scribble.fsn.hu> <20020516162219.E45898@mail.webmonster.de>

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

--7J16OGEJ/mt06A90
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Thu, May 16, 2002 at 04:22:19PM +0200, Karsten W. Rohrbach wrote:
> Attila Nagy(bra@fsn.hu)@2002.05.16 13:50:02 +0000:
> > Hello,
> >=20
> > > In theory, you could use ports/sysutils/daemontools/, specifically the
> > > 'supervise' utility.  I have been thinking about setting up a jail us=
ing
> > > a supervised service for some time now, never had the time to actually
> > > sit down and do it, though..
> > It works OK with services that don't go to background.
>=20
> fghack, included in daemontools, makes backgrounding daemons running
> bound in the foreground, at the expense of FDs. just a sidenote.

Yeah, well, I thought of fghack too; the problem is that jail(8)
does not leave a daemon to supervise at all..  All that jail(8)
does is start a process in the jail specified, then exit when
that process dies; and if the command executed is '/bin/sh /etc/rc',
it finishes as soon as all the daemons are started.

Okay, forget I said anything about supervise; it does not seem to be
applicable for jails at all :(

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
This sentence every third, but it still comprehensible.

--7J16OGEJ/mt06A90
Content-Type: application/pgp-signature
Content-Disposition: inline

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

iD8DBQE848pt7Ri2jRYZRVMRAmFeAJ9KfEfrXIZfe/vfuGmWmvpzJ/gs8ACgmNWZ
LKk71is3/bUf6Ec9/okVzDA=
=RYG7
-----END PGP SIGNATURE-----

--7J16OGEJ/mt06A90--

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?20020516180414.H349>