Skip to content
Snippets Groups Projects
Commit e6b956a4 authored by Jakub Jirutka's avatar Jakub Jirutka :flag_ua:
Browse files

main/haveged: don't force supervise-daemon

supervise-daemon is still experimental, has bad defaults and tends
to be unreliable. Users can enable supervise-daemon, if they want to,
simply by declaring `supervisor=supervise-daemon` in
/etc/conf.d/haveged.

See my mail from Tue, 15 Dec 2020 15:33:16 +0100 in alpine-devel
mailing-list in topic "Use of supervise-daemon in Alpine".
(I cannot simply reference it from ML archive because it's broken.)

This partially reverts c1b6b2e5.
parent e35d8407
No related branches found
No related tags found
No related merge requests found
......@@ -3,7 +3,7 @@
# Maintainer: Jakub Jirutka <jakub@jirutka.cz>
pkgname=haveged
pkgver=1.9.14
pkgrel=0
pkgrel=1
pkgdesc="Entropy harvesting daemon using CPU timings"
url="https://www.issihosts.com/haveged/"
arch="all"
......@@ -47,5 +47,5 @@ package() {
sha512sums="bdb6d9de667298d32b474bcbdd5f90c12b870b154b86f8817948de787d378b428bf823234f20129666bd1abced2f154643b5999e43975969f6bba87124650924 haveged-1.9.14.tar.gz
e977a6487df29a0e7de07ef3ef6546776ee9671cc8ac02868800351c6461be4d0d2e05cf40c5bc54742c00d5fe1878027959ab598d96be4f81a9eb4969fce08d double-the-sample-size-used-in-the-entest.patch
9d39a7f94987b5734ba414edf23ec986f344e00748d20dd5b37b64403cebd4fad68469df52ce1d115d0ee0c71497f1ac21144d0370345b5ef57e306d7d376f89 haveged.initd
57201472fc659aaab919562a00d474d3823d5becea62e8b13ef93eda05e1fd667721c968f224fcae871d13cfcd16d1924403d9181e0899fa214fa00bf4fefc75 haveged.confd"
99dfe4e40b99041a34cfff8539d6148c88413d2fadc2ab8db7edda95f8c84e21b61643de51855d70f0f6d20bbe1f46fc8198bfd5d512099545fad74d1c7132b6 haveged.initd
c2dcaf151d314500c9147b97ce08bb65c902431ac1c60e76072f5237164fa4ff4aa9115eba9329fffb14add7759e4d9acc894bcf49dcc4ea37339a01c2aa1ed7 haveged.confd"
# Config file for /etc/init.d/haveged
# Configuration file for /etc/init.d/haveged
# Any extra options you want to pass to haveged
# on start-up should be put here.
HAVEGED_OPTS=""
# Additional arguments to pass to haveged.
#command_args=
# Uncomment to use process supervisor.
#supervisor="supervise-daemon"
#!/sbin/openrc-run
supervisor=supervise-daemon
name="RNG Daemon"
description="haveged Random Number Generator"
description="Entropy harvesting daemon using CPU timings"
command=/usr/sbin/haveged
command_args="$HAVEGED_OPTS"
command_args_foreground="--Foreground"
command="/usr/sbin/haveged"
# $HAVEGED_OPTS is here for backward compatiblity only
command_args="--Foreground ${command_args:-$HAVEGED_OPTS}"
command_background="yes"
pidfile="/run/$RC_SVCNAME.pid"
depend() {
need localmount
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment