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

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

Thanks for the suggestion.  I thought about just leaving the jail there but it drives me nuts when I run the mount command on the host and I see all these mounts from jails when I just want to see the host mounts.

-foo

07.05.2019, 06:10, "Stefan Bethke" <stb@lassitu.de>:
> 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’t 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
>
> --
> 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?13724321558553100>