diff options
author | William Hubbs <w.d.hubbs@gmail.com> | 2017-03-14 18:04:31 -0500 |
---|---|---|
committer | William Hubbs <w.d.hubbs@gmail.com> | 2017-03-14 18:04:31 -0500 |
commit | c333707cba356f4cacfd58a6fcc78f7c073dddcd (patch) | |
tree | efcb962e48afcce50e959b36a4315bce1892fea9 | |
parent | 5f5b1f7cbefd0bc14352e86a9c33260266f98d9b (diff) |
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.in | 3 | ||||
-rw-r--r-- | init.d/swclock.in | 5 |
2 files changed, 6 insertions, 2 deletions
diff --git a/init.d/hwclock.in b/init.d/hwclock.in index f78cc7c3..3bfcab1d 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 9ceba444..67baaab0 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 } |