Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 21 Jun 2020 10:54:01 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 147444] [rc.d] [patch] /etc/rc.d/zfs stop not called on reboot & modules cause system hang
Message-ID:  <bug-147444-227-HMD4TrsbVK@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-147444-227@https.bugs.freebsd.org/bugzilla/>
References:  <bug-147444-227@https.bugs.freebsd.org/bugzilla/>

index | next in thread | previous in thread | raw e-mail

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

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

help

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-147444-227-HMD4TrsbVK>