aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWilliam Hubbs <w.d.hubbs@gmail.com>2017-03-14 18:04:31 -0500
committerWilliam Hubbs <w.d.hubbs@gmail.com>2017-03-14 18:04:31 -0500
commitc333707cba356f4cacfd58a6fcc78f7c073dddcd (patch)
treeefcb962e48afcce50e959b36a4315bce1892fea9
parentinit.d/sysfs.in: efivarfs tweaks (diff)
downloadopenrc-c333707cba356f4cacfd58a6fcc78f7c073dddcd.zip
openrc-c333707cba356f4cacfd58a6fcc78f7c073dddcd.tar.gz
openrc-c333707cba356f4cacfd58a6fcc78f7c073dddcd.tar.bz2
Remove all occurances of 'before *' from dependencies
Using wildcards in dependencies causes issues when rc_parallel is set to yes because it can lead to deadlocks. All dependencies need to be explicit rather than implicit. This is the first stage of moving this direction.
-rw-r--r--init.d/hwclock.in3
-rw-r--r--init.d/swclock.in5
2 files changed, 6 insertions, 2 deletions
diff --git a/init.d/hwclock.in b/init.d/hwclock.in
index f78cc7c..3bfcab1 100644
--- a/init.d/hwclock.in
+++ b/init.d/hwclock.in
@@ -34,7 +34,8 @@ depend()
if yesno $clock_adjfile; then
use root
else
- before *
+ before binfmt bootmisc fsck hostname keymaps localmount loopback mtab
+ before procfs root swap sysctl termencoding urandom
fi
keyword -docker -lxc -openvz -prefix -systemd-nspawn -uml -vserver -xenu
}
diff --git a/init.d/swclock.in b/init.d/swclock.in
index 9ceba44..67baaab 100644
--- a/init.d/swclock.in
+++ b/init.d/swclock.in
@@ -13,7 +13,10 @@ description="Sets the local clock to the mtime of a given file."
depend()
{
- before *
+ before adjkerntz binfmt bootmisc devdb dumpon fsck hostid hostname keymaps
+ before localmount loopback modules mtab network newsyslog procfs root
+ before savecore staticroute swap swap-blk syscons sysctl syslogd
+ before termencoding ttys urandom wscons
provide clock
keyword -docker -lxc -openvz -prefix -systemd-nspawn -uml -vserver -xenu
}