HomeFreeBSD

Inform OpenRC that ZFS uses mtab

Description

Inform OpenRC that ZFS uses mtab

p_l in #zfsonlinux reported that he had issues mounting filesystems that
were resolved by adding rc_need="mtab" to /etc/init.d/zfs. Closer
inspection revealed that we do have a race, but it is not clear how this
race caused mounting to fail. What is clear is that this race should be
fixed, so lets add the proper use mtab line to handle it.

Signed-off-by: Richard Yao <ryao@gentoo.org>
Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
Closes #2148

Details

Provenance
Richard Yao <ryao@gentoo.org>Authored on Dec 10 2013, 1:22 AM
Brian Behlendorf <behlendorf1@llnl.gov>Committed on Mar 4 2014, 7:54 PM
Parents
rG36f92e93e5dc: Illumos #4574 get_clones_stat does not call zap_count in non-debug kernel
Branches
Unknown
Tags
Unknown

Event Timeline

Brian Behlendorf <behlendorf1@llnl.gov> committed rGb42b812efbbe: Inform OpenRC that ZFS uses mtab (authored by Richard Yao <ryao@gentoo.org>).Mar 4 2014, 7:54 PM