aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--init.d/localmount.in2
-rw-r--r--init.d/mtab.in1
2 files changed, 2 insertions, 1 deletions
diff --git a/init.d/localmount.in b/init.d/localmount.in
index 6785a0be..31684191 100644
--- a/init.d/localmount.in
+++ b/init.d/localmount.in
@@ -14,7 +14,7 @@ description="Mounts disks and swap according to /etc/fstab."
depend()
{
need fsck
- use lvm modules mtab root
+ use lvm modules root
after clock lvm modules root
keyword -docker -jail -lxc -prefix -systemd-nspawn -vserver
}
diff --git a/init.d/mtab.in b/init.d/mtab.in
index 80ef275c..9e0c1a6e 100644
--- a/init.d/mtab.in
+++ b/init.d/mtab.in
@@ -14,6 +14,7 @@ description="Update /etc/mtab to match what the kernel knows about"
depend()
{
after clock
+ before localmount
need root
keyword -prefix -systemd-nspawn
}