aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWilliam Hubbs <w.d.hubbs@gmail.com>2017-11-14 13:17:01 -0600
committerWilliam Hubbs <w.d.hubbs@gmail.com>2017-11-14 13:20:49 -0600
commit0d15898f58cc254d79777c791d4798a9b2542cf2 (patch)
treefd2c7d581e04f37311c57a00aa10fd3da374a0c5
parent971e82784cd1ad8f9a286ee792e6417359972976 (diff)
adjust mtab and localmount dependencies
localmount had mtab in its "use" dependencies; however, it makes more sense to add "before localmount" to the mtab service and remove "use mtab" from the localmount service.
-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
}