aboutsummaryrefslogtreecommitdiffstats
path: root/main/haveged/haveged.initd
diff options
context:
space:
mode:
authorMatt Merhar <mattmerhar@protonmail.com>2019-04-26 19:48:58 -0400
committerNatanael Copa <ncopa@alpinelinux.org>2019-05-05 08:03:51 +0000
commitcaec29f551955d6a6392943708652db0f8bc4a17 (patch)
treeed67547b8f6993c002f8b771ed10b3edfeab0962 /main/haveged/haveged.initd
parent3e8d94dddc8af2b5d8ebb29ae53a3c62b56ff8aa (diff)
downloadaports-caec29f551955d6a6392943708652db0f8bc4a17.tar.bz2
aports-caec29f551955d6a6392943708652db0f8bc4a17.tar.xz
main/haveged: rework init dependencies
haveged does not require any network connectivity to function, and this errant dependency can cause the daemon to not start properly at boot. This also adds urandom / localmount, bringing the init script in sync with those from rng-tools and jitterentropy-rngd.
Diffstat (limited to 'main/haveged/haveged.initd')
-rw-r--r--main/haveged/haveged.initd3
1 files changed, 2 insertions, 1 deletions
diff --git a/main/haveged/haveged.initd b/main/haveged/haveged.initd
index 3b761ba077..015fc59561 100644
--- a/main/haveged/haveged.initd
+++ b/main/haveged/haveged.initd
@@ -7,6 +7,7 @@ command_background="yes"
pidfile="/run/$RC_SVCNAME.pid"
depend() {
- need net
+ need localmount
+ after urandom
provide entropy
}