Package: pdns
Version: 3.1-4
Severity: normal
Tags: patch

I'm trying to remove pdns init scripts from all runlevels:

# insserv -r pdns
insserv: Service pdns has to be enabled to start service apache2
insserv: Service pdns has to be enabled to start service postfix
insserv: exiting now!
#

Having a look into insserv config:

# rgrep named /etc/insserv*
/etc/insserv.conf:$named                +named +dnsmasq +lwresd +bind9 +unbound 
$network
/etc/insserv.conf.d/pdns-server:$named pdns +pdns-recursor
/etc/insserv.d/pdns-server:$named pdns +pdns-recursor
#

As all other nameserver daemons are optional to start, I guess thats
also fine for pdns?
Implementing this with the attached patch make insserv work:

# insserv -r pdns
#

Thanks and cheers, Jan.
-- 
Never write mail to <w...@spamfalle.info>, you have been warned!
-----BEGIN GEEK CODE BLOCK-----
Version: 3.12
GIT d-- s+: a C+++ UL++++ P+ L+++ E--- W+++ N+++ o++ K++ w--- O M V- PS
PE Y++
PGP++ t-- 5 X R tv- b+ DI D+ G++ e++ h---- r+++ y++++
------END GEEK CODE BLOCK------
--- /etc/insserv.conf.d/pdns-server.orig	2013-06-26 11:16:31.000000000 +0200
+++ /etc/insserv.conf.d/pdns-server	2013-06-26 11:16:40.000000000 +0200
@@ -1 +1 @@
-$named pdns +pdns-recursor
+$named +pdns +pdns-recursor

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to