]> granicus.if.org Git - zfs/commit
Inform OpenRC that ZFS uses mtab
authorRichard Yao <ryao@gentoo.org>
Tue, 10 Dec 2013 01:22:13 +0000 (20:22 -0500)
committerBrian Behlendorf <behlendorf1@llnl.gov>
Tue, 4 Mar 2014 19:54:44 +0000 (11:54 -0800)
commitb42b812efbbe5f9c9a8a2f2cb787e95aa09e158d
tree3ea7d6e2239a33f31798752e2dfc59a64ce51bea
parent36f92e93e5dcd88efd74522ac0efd237168c1dfd
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
etc/init.d/zfs.gentoo.in