[Bug 286179] Passing a vlan interface to a vnet jail result in a stuck dying state

[email protected]
Newsgroups gmane.os.freebsd.devel.net
Message-ID <[email protected]/bugzilla/>
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=286179

--- Comment #17 from Peter Ganzhorn <[email protected]> ---
Hi Florian, just to be sure: Did you try unmounting your ZFS mounts from the
jail?
I also have an issue that the jail is dying, but I can unmount the ZFS datasets
manually and the jail actually stops after that.
Before my patch the jail would stay in the dying state even when unmounting
manually.
I changed my config to not set jailed=on and just change the mountpoint in and
out of the jail with exec.created and exec.release.
This way I was able to do about 80 starts and stops with zero dying jails.

Also make sure the root path of the jail is NOT in the fstab of the jail.
I suspect a race condition with that, with a delay of 2 seconds unmounting the
root path is possible automagically, with no delay that fails.

In a nutshell: without my patch the jails hangs due to the vnet, with my patch
there are other but smaller issues with the mounts.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.