1 |
commit: 0d15898f58cc254d79777c791d4798a9b2542cf2 |
2 |
Author: William Hubbs <w.d.hubbs <AT> gmail <DOT> com> |
3 |
AuthorDate: Tue Nov 14 19:17:01 2017 +0000 |
4 |
Commit: William Hubbs <williamh <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Nov 14 19:20:49 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/proj/openrc.git/commit/?id=0d15898f |
7 |
|
8 |
adjust mtab and localmount dependencies |
9 |
|
10 |
localmount had mtab in its "use" dependencies; however, it makes more |
11 |
sense to add "before localmount" to the mtab service and remove |
12 |
"use mtab" from the localmount service. |
13 |
|
14 |
init.d/localmount.in | 2 +- |
15 |
init.d/mtab.in | 1 + |
16 |
2 files changed, 2 insertions(+), 1 deletion(-) |
17 |
|
18 |
diff --git a/init.d/localmount.in b/init.d/localmount.in |
19 |
index 6785a0be..31684191 100644 |
20 |
--- a/init.d/localmount.in |
21 |
+++ b/init.d/localmount.in |
22 |
@@ -14,7 +14,7 @@ description="Mounts disks and swap according to /etc/fstab." |
23 |
depend() |
24 |
{ |
25 |
need fsck |
26 |
- use lvm modules mtab root |
27 |
+ use lvm modules root |
28 |
after clock lvm modules root |
29 |
keyword -docker -jail -lxc -prefix -systemd-nspawn -vserver |
30 |
} |
31 |
|
32 |
diff --git a/init.d/mtab.in b/init.d/mtab.in |
33 |
index 80ef275c..9e0c1a6e 100644 |
34 |
--- a/init.d/mtab.in |
35 |
+++ b/init.d/mtab.in |
36 |
@@ -14,6 +14,7 @@ description="Update /etc/mtab to match what the kernel knows about" |
37 |
depend() |
38 |
{ |
39 |
after clock |
40 |
+ before localmount |
41 |
need root |
42 |
keyword -prefix -systemd-nspawn |
43 |
} |