mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2024-12-25 18:59:33 +03:00
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
This commit is contained in:
parent
36f92e93e5
commit
b42b812efb
@ -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
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user