Control: severity -1 serious
Control: tags -1 + patch

Not shipping init scripts equivalent to the service files violates
policy 9.11, therefore the bug severity is serious.

I've now attached a patch.

diff -Nur rng-tools5-5/debian/changelog rng-tools5-5-patched/debian/changelog
--- rng-tools5-5/debian/changelog	2018-10-16 23:41:15.000000000 +0200
+++ rng-tools5-5-patched/debian/changelog	2018-10-16 23:47:35.856000000 +0200
@@ -1,3 +1,10 @@
+rng-tools5 (5-4) unstable; urgency=low
+
+  [Carsten Leonhardt]
+  * Add init script. (Closes: #909788)
+
+ -- Carsten Leonhardt <l...@debian.org>  Tue, 16 Oct 2018 23:45:50 +0200
+
 rng-tools5 (5-3) unstable; urgency=low
 
   * adds check so the daemon exits properly after receiving a
diff -Nur rng-tools5-5/debian/rngd.init rng-tools5-5-patched/debian/rngd.init
--- rng-tools5-5/debian/rngd.init	1970-01-01 01:00:00.000000000 +0100
+++ rng-tools5-5-patched/debian/rngd.init	2018-10-16 23:41:52.272000000 +0200
@@ -0,0 +1,21 @@
+#!/bin/sh
+# kFreeBSD do not accept scripts as interpreters, using #!/bin/sh and sourcing.
+if [ true != "$INIT_D_SCRIPT_SOURCED" ] ; then
+    set "$0" "$@"; INIT_D_SCRIPT_SOURCED=true . /lib/init/init-d-script
+fi
+### BEGIN INIT INFO
+# Provides:          rngd
+# Required-Start:    $remote_fs $syslog
+# Required-Stop:     $remote_fs $syslog
+# Default-Start:     2 3 4 5
+# Default-Stop:      0 1 6
+# Short-Description: entropy gathering daemon (rngd)
+# Description:       Check and feed random data from hardware device
+#                    to kernel random device
+
+### END INIT INFO
+
+# Author: Carsten Leonhardt <l...@debian.org>
+
+DESC="entropy gathering daemon"
+DAEMON=/usr/sbin/rngd

Reply via email to