Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 6 May 2019 23:10:21 +0200
From:      Stefan Bethke <stb@lassitu.de>
To:        squiggly foo <foo.squiggly@yandex.com>
Cc:        freebsd-jail@freebsd.org
Subject:   Re: Application Jail Shutdown Problem
Message-ID:  <C177C8E6-F3B9-4FEF-9F6E-CEFC1C9943C4@lassitu.de>
In-Reply-To: <22066461556647435@iva8-3b901672a9c5.qloud-c.yandex.net>
References:  <22066461556647435@iva8-3b901672a9c5.qloud-c.yandex.net>

next in thread | previous in thread | raw e-mail | index | archive | help
Am 30.04.2019 um 20:03 schrieb squiggly foo <foo.squiggly@yandex.com>:
> I use the mount.fstab parameter to mount a number of file systems =
before starting a jail which works without any problem.  However since =
it is an application jail, there are no other processes running inside =
the jail other than the one application.  As soon as that application =
terminates the jail is removed by the host.

Would keeping the jail around be an alternative?

With the persist parameter, the jail doesn=E2=80=99t go away when the =
last process exits, and starting the same (or another) process with the =
same jail name will reuse the existing jail.

Only when you really want to get rid of the jail you destroy it =
explicitly, including unmounting the file systems.


Stefan

--=20
Stefan Bethke <stb@lassitu.de>   Fon +49 151 14070811




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?C177C8E6-F3B9-4FEF-9F6E-CEFC1C9943C4>