ttys in jail

Richard Manyanza 1.liseki at gmail.com
Fri Oct 24 13:35:23 UTC 2014


Thanks for the clarification Kurt! And for the pointing out daemontools. I
have actually just started setting up /usr/ports/sysutils/runit. I guess I
was playing around with the poor man's version.

On Fri, Oct 24, 2014 at 4:30 PM, Kurt Jaeger <lists at opsec.eu> wrote:

> 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 at opsec.eu            +49 171 3101372                         6 years to
> go !
>


More information about the freebsd-jail mailing list