Date: Thu, 19 Jan 2012 16:34:22 +0100 From: Denny Schierz <linuxmail@4lin.net> To: freebsd-stable@freebsd.org Subject: Re: Fighting with vnet / jails epair and so on Message-ID: <5A4BB62D-AD68-45CE-BDCA-F2504780307A@4lin.net> In-Reply-To: <741811DB-240C-4390-A3B3-4BEFE8714942@4lin.net> References: <C51D1B19-1616-4165-BC5E-A681241C8ED2@4lin.net> <4F174607.9070707@fdrive.com.au> <741811DB-240C-4390-A3B3-4BEFE8714942@4lin.net>
next in thread | previous in thread | raw e-mail | index | archive | help
hi, I've created a new patch (adapted the old freebsd-9RC2 patch) for = /etc/rc.d/jail: The original patch: http://wiki.polymorf.fr/files/jail_rc.patch My patch: http://pastebin.com/9LdLwaNA It works (was very happy) if you start the jail, but has problems with = stopping: it shows in jls still as active: # jls JID IP Address Hostname Path 1 - template.domain /jails/template If I try to remove with "jail -r 1" than first the process hang, second = after while, the whole machine needs a reset. There is no process from = the jail active, nor any epair* interfaces or mounts, which is quite = good, but ... I you try to create the jail again (after /etc/rc.d/jail stop), it tries = to create the epair0a (the last I can see) interface and than it hangs = again -> reset needed Also nice to know: # umount /jails/template=20 umount: unmount of /jails/template failed: Device busy Also not possible: a normal reboot after starting / stopping the jail. = -> reset needed cu denny=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?5A4BB62D-AD68-45CE-BDCA-F2504780307A>