https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=147444

--- Comment #5 from Markus Stoff <ms-freebsd-bugzi...@stoffnet.at> ---
Correction for the workaround proposed in my previous post:

Instead of

    exec.stop += "/usr/sbin/service zfs stop";

the second line must read:

    exec.stop += "/usr/sbin/service zfs stop || /usr/bin/true";

This is necessary because '/usr/sbin/service zfs stop' will always return false
if the root filesystem of the jail happens to be a ZFS dataset, which is very
likely to be the case.

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
freebsd-bugs@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"

Reply via email to