[Bug 147444] [rc.d] [patch] /etc/rc.d/zfs stop not called on reboot & modules cause system hang

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Sun Jun 21 10:54:02 UTC 2020


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

--- Comment #5 from Markus Stoff <ms-freebsd-bugzilla at 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.


More information about the freebsd-bugs mailing list