Date: Fri, 24 Oct 2014 15:30:55 +0200 From: Kurt Jaeger <lists@opsec.eu> To: Richard Manyanza <1.liseki@gmail.com> Cc: freebsd-jail@freebsd.org Subject: Re: ttys in jail Message-ID: <20141024133055.GE66862@home.opsec.eu> In-Reply-To: <CALqRJvnjFj7cz_Ve5gn3Qnpw6v=7YRUskuZm7nuciAYirO84pg@mail.gmail.com> References: <CALqRJvnjFj7cz_Ve5gn3Qnpw6v=7YRUskuZm7nuciAYirO84pg@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Hi! > In a non-jail FreeBSD instance I have a service I want supervised as an > entry in /etc/ttys so whenever it dies it gets restarted. This is a feature of the init process (man init). In a jail you do not have an proper 'init' process, so this will not work. > I am trying to do > the same in a jail but after adding an entry to /etc/ttys and running init > q, the service is not picked up. > > I am naive on the implementation details of jails but is what I am trying > to do possible? If so is it then a matter of appropriate settings? It needs a different approach, for example have a look at /usr/ports/sysutils/daemontools -- pi@opsec.eu +49 171 3101372 6 years to go !
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20141024133055.GE66862>