From 0d15898f58cc254d79777c791d4798a9b2542cf2 Mon Sep 17 00:00:00 2001 From: William Hubbs Date: Tue, 14 Nov 2017 13:17:01 -0600 Subject: [PATCH] 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. --- init.d/localmount.in | 2 +- init.d/mtab.in | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) 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 }