Gentoo Archives: gentoo-commits

From: William Hubbs <williamh@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/openrc:master commit in: init.d/
Date: Tue, 28 Feb 2017 23:44:41
Message-Id: 1488325446.4a269674b765e5267f024fa55c8644480a7304ea.williamh@OpenRC
1 commit: 4a269674b765e5267f024fa55c8644480a7304ea
2 Author: William Hubbs <w.d.hubbs <AT> gmail <DOT> com>
3 AuthorDate: Tue Feb 28 23:44:06 2017 +0000
4 Commit: William Hubbs <williamh <AT> gentoo <DOT> org>
5 CommitDate: Tue Feb 28 23:44:06 2017 +0000
6 URL: https://gitweb.gentoo.org/proj/openrc.git/commit/?id=4a269674
7
8 make sure netmount and localmount start after root
9
10 init.d/localmount.in | 4 ++--
11 init.d/netmount.in | 2 ++
12 2 files changed, 4 insertions(+), 2 deletions(-)
13
14 diff --git a/init.d/localmount.in b/init.d/localmount.in
15 index cae80c34..9920dc9e 100644
16 --- a/init.d/localmount.in
17 +++ b/init.d/localmount.in
18 @@ -14,8 +14,8 @@ description="Mounts disks and swap according to /etc/fstab."
19 depend()
20 {
21 need fsck
22 - use lvm modules mtab
23 - after lvm modules
24 + use lvm modules mtab root
25 + after lvm modules root
26 keyword -docker -jail -lxc -prefix -systemd-nspawn -vserver
27 }
28
29
30 diff --git a/init.d/netmount.in b/init.d/netmount.in
31 index 7be08e11..96f5d3e0 100644
32 --- a/init.d/netmount.in
33 +++ b/init.d/netmount.in
34 @@ -20,10 +20,12 @@ depend()
35 *) mywant="$mywant nfsclient"; break ;;
36 esac
37 done
38 + after root
39 config /etc/fstab
40 want $mywant
41 use afc-client amd openvpn
42 use dns
43 + use root
44 keyword -docker -jail -lxc -prefix -systemd-nspawn -vserver
45 }