From b42b812efbbe5f9c9a8a2f2cb787e95aa09e158d Mon Sep 17 00:00:00 2001 From: Richard Yao Date: Mon, 9 Dec 2013 20:22:13 -0500 Subject: 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 Signed-off-by: Brian Behlendorf Closes #2148 --- etc/init.d/zfs.gentoo.in | 1 + 1 file changed, 1 insertion(+) (limited to 'etc') diff --git a/etc/init.d/zfs.gentoo.in b/etc/init.d/zfs.gentoo.in index 01a7731f7..07fce01ba 100644 --- a/etc/init.d/zfs.gentoo.in +++ b/etc/init.d/zfs.gentoo.in @@ -20,6 +20,7 @@ depend() # bootmisc will log to /var which may be a different zfs than root. before bootmisc logger + use mtab keyword -lxc -openvz -prefix -vserver } -- cgit v1.2.3