commit: 4a269674b765e5267f024fa55c8644480a7304ea
Author: William Hubbs <w.d.hubbs <AT> gmail <DOT> com>
AuthorDate: Tue Feb 28 23:44:06 2017 +0000
Commit: William Hubbs <williamh <AT> gentoo <DOT> org>
CommitDate: Tue Feb 28 23:44:06 2017 +0000
URL: https://gitweb.gentoo.org/proj/openrc.git/commit/?id=4a269674
make sure netmount and localmount start after root
init.d/localmount.in | 4 ++--
init.d/netmount.in | 2 ++
2 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/init.d/localmount.in b/init.d/localmount.in
index cae80c34..9920dc9e 100644
--- a/init.d/localmount.in
+++ b/init.d/localmount.in
@@ -14,8 +14,8 @@ description="Mounts disks and swap according to /etc/fstab."
depend()
{
need fsck
- use lvm modules mtab
- after lvm modules
+ use lvm modules mtab root
+ after lvm modules root
keyword -docker -jail -lxc -prefix -systemd-nspawn -vserver
}
diff --git a/init.d/netmount.in b/init.d/netmount.in
index 7be08e11..96f5d3e0 100644
--- a/init.d/netmount.in
+++ b/init.d/netmount.in
@@ -20,10 +20,12 @@ depend()
*) mywant="$mywant nfsclient"; break ;;
esac
done
+ after root
config /etc/fstab
want $mywant
use afc-client amd openvpn
use dns
+ use root
keyword -docker -jail -lxc -prefix -systemd-nspawn -vserver
}