[Pkg-pdns-maintainers] Bug#714145: [pdns] unable to remove pdns init script from runlevels with insserv

Jan Wagner waja at cyconet.org
Wed Jun 26 09:22:49 UTC 2013


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 <waja at 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------
-------------- next part --------------
A non-text attachment was scrubbed...
Name: fix_insserv.patch
Type: text/x-patch
Size: 218 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-pdns-maintainers/attachments/20130626/79390a34/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 190 bytes
Desc: OpenPGP digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-pdns-maintainers/attachments/20130626/79390a34/attachment.sig>


More information about the Pkg-pdns-maintainers mailing list