problem stoping jails with jail(8), jail.conf and mount.fstab

Jamie Gritton jamie at FreeBSD.org
Wed Feb 13 05:09:06 UTC 2013


On 02/12/13 07:47, Harald Schmalzbauer wrote:
>   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 busy"
>
> It seems to me that the order of fstab.jailname entries are not reverted
> by jail(8) when shutting down/umounting.
> My C skills don't allow me to verify/fix that in usr.sbin/jail/command.c
>
> Can anybody help please?
>
> Thanks,
>
> -Harry


Yes, that's a serious drawback.  I'll work something up for that.

- Jamie


More information about the freebsd-jail mailing list