Date: Tue, 12 Feb 2013 15:58:48 +0100 From: Harald Schmalzbauer <h.schmalzbauer@omnilan.de> To: freebsd-stable@freebsd.org, freebsd-jail@freebsd.org Subject: Re: problem stoping jails with jail(8), jail.conf and mount.fstab Message-ID: <511A58A8.50703@omnilan.de> In-Reply-To: <511A55F9.4080205@omnilan.de> References: <511A55F9.4080205@omnilan.de>
next in thread | previous in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enigDBA6D07CE516CA02A636B3B1 Content-Type: text/plain; charset=ISO-8859-15 Content-Transfer-Encoding: quoted-printable schrieb Harald Schmalzbauer am 12.02.2013 15:47 (localtime): > Hello, > > on 9.1-R, I highly appreciate the new jail(8) and jail.conf > capabilities. Thanks for that extension! > > But I have one problem: If I want to stop a jail with 'jaill -r > jailname', I get "umount: unmount of /.jail.jailname failed: Device bus= y" > > It seems to me that the order of fstab.jailname entries are not reverte= d > by jail(8) when shutting down/umounting. > My C skills don't allow me to verify/fix that in usr.sbin/jail/command.= c Btw, experimental falsifying isn't the problem: fstab.jail1: /dev/gpt/jail1ROOT /.jail.jail1 ufs ro 0 0 /dev/gpt/jail1VAR /.jail.jail1/var ufs rw,noatime 0 0 Starting jail with 'jail -c jail1': everything fine. Stoping jail with 'jail -r jail1': error when fstab.jail1 is like above, but error vanishes if I revert the two lines above before stoping! So the root cause seems to be obvious. But like mentioned, I can't fix that myself :-( Thanks, -Harry --------------enigDBA6D07CE516CA02A636B3B1 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.18 (FreeBSD) iEYEARECAAYFAlEaWKkACgkQLDqVQ9VXb8gXqQCfao/pVXU0L61n3gh2nNr+Sx+h aG8Anjzj3xaXJz/hSmbOZZHXu0agge+e =q8WV -----END PGP SIGNATURE----- --------------enigDBA6D07CE516CA02A636B3B1--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?511A58A8.50703>