severity 651031 grave # renders package uninstallable
found 651031 3.0.19.ds1-5.1
tags 651031 + patch
thanks

Hi,

Bug was introduced already in NMU 3.0.19.ds1-5.1.

diff -u pidentd-3.0.19.ds1/debian/rules pidentd-3.0.19.ds1/debian/rules
--- pidentd-3.0.19.ds1/debian/rules
+++ pidentd-3.0.19.ds1/debian/rules
@@ -89,6 +89,7 @@
        dh_installexamples
        dh_installmenu
        dh_installman
+       dh_installinit -- start 20 S . stop 20 .
 ifeq (,$(findstring nostrip,$(DEB_BUILD_OPTIONS)))
        dh_strip
 endif

Options after -- are passed to update-rc.d which expects the pattern
"(start|stop) runlevel .", violated by "stop 20 .".

Judging from the initscript, it doesn't need to be stopped in any
runlevel, so "stop 20 ." should just be removed. The attached (trivial)
patch applies to 3.0.19.ds1-6 source and fixes this issue.

Regards,
Martin

-- 
Martin Stigge
Department of Information Technology
Uppsala University
Box 337
SE-751 05 Uppsala
Sweden


diff -ur pidentd-3.0.19.ds1_old/debian/rules pidentd-3.0.19.ds1/debian/rules
--- pidentd-3.0.19.ds1_old/debian/rules	2011-12-05 11:34:23.000000000 +0100
+++ pidentd-3.0.19.ds1/debian/rules	2011-12-05 11:34:47.000000000 +0100
@@ -92,7 +92,7 @@
 	dh_installexamples
 	dh_installmenu
 	dh_installman
-	dh_installinit -- start 20 S . stop 20 .
+	dh_installinit -- start 20 S .
 ifeq (,$(findstring nostrip,$(DEB_BUILD_OPTIONS)))
 	dh_strip
 endif

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to