Your message dated Wed, 04 Nov 2009 21:47:29 +0000
with message-id <[email protected]>
and subject line Bug#548293: fixed in pdns 2.9.22-2
has caused the Debian Bug report #548293,
regarding pdns-server: Incorrect runlevels and dependencies in init.d LSB header
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
548293: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=548293
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: pdns-server
Version: 2.9.20-6
Severity: important
Tags: patch
User: [email protected]
Usertags: incorrect-dependency incorrect-runlevels
With dependency based boot sequencing, I discovered what I believe is
a bug in the init.d scripts of this package. The script uses files in
/usr/, and should depend on $remote_fs. The script used to start
after syslog, and should probably depend on $syslog. The header do
not list runlevel 1, while the update-rc.d arguments specify that the
script should stop in runlevel 1. Further, with a hard dependency on
networking instead of $network, the package fail to install when the
netbase package isn't installed. The latter was discovered by
piuparts. See
<URL: http://piuparts.debian.org/sid/fail/pdns-server_2.9.22-1+b1.log >
for the test log.
<URL:
http://refspecs.freestandards.org/LSB_2.1.0/LSB-generic/LSB-generic/initscrcomconv.html
>
documents the LSB header format. Some debian notes are available from
<URL: http://wiki.debian.org/LSBInitScripts >.
This patch should solve the issue. Without it, the package fail to
install when netbase isn't installed, and might start a bit too early
during boot. It will also fail to stop the service properly when
switching to runlevel 1.
diff -ur ../pdns-2.9.22/debian/init.d/pdns
../pdns-2.9.22-pere/debian/init.d/pdns
--- ../pdns-2.9.22/debian/init.d/pdns 2009-09-25 11:15:42.000000000 +0200
+++ ../pdns-2.9.22-pere/debian/init.d/pdns 2009-09-25 11:17:44.000000000
+0200
@@ -1,10 +1,10 @@
#!/bin/sh
### BEGIN INIT INFO
# Provides: pdns
-# Required-Start: networking
-# Required-Stop: networking
+# Required-Start: $network $remote_fs $syslog
+# Required-Stop: $network $remote_fs $syslog
# Default-Start: 2 3 4 5
-# Default-Stop: 0 6
+# Default-Stop: 0 1 6
# Short-Description: PDNS is a versatile high performance authoritative
nameserver.
### END INIT INFO
diff -ur ../pdns-2.9.22/debian/pdns-server.postinst
../pdns-2.9.22-pere/debian/pdns-server.postinst
--- ../pdns-2.9.22/debian/pdns-server.postinst 2009-09-25 11:15:42.000000000
+0200
+++ ../pdns-2.9.22-pere/debian/pdns-server.postinst 2009-09-25
11:22:29.000000000 +0200
@@ -113,6 +113,13 @@
;;
esac
+# Recover from incorrect init.d script headers in version 2.9.22-1 and earlier
+if [ "$1" = "configure" ] && dpkg --compare-versions "$2" le "2.9.22-1" \
+ && [ -f /etc/rc0.d/K[0-9][0-9]pdns ] \
+ && ! [ -f /etc/rc1.d/K[0-9][0-9]pdns ] ; then
+ update-rc.d -f pdns remove
+fi
+
if [ -x "/etc/init.d/pdns" ]; then
update-rc.d pdns defaults 20 85 >/dev/null || exit 0
if [ -x /usr/sbin/invoke-rc.d ]; then
Happy hacking,
--
Petter Reinholdtsen
--- End Message ---
--- Begin Message ---
Source: pdns
Source-Version: 2.9.22-2
We believe that the bug you reported is fixed in the latest version of
pdns, which is due to be installed in the Debian FTP archive:
pdns-backend-geo_2.9.22-2_amd64.deb
to main/p/pdns/pdns-backend-geo_2.9.22-2_amd64.deb
pdns-backend-ldap_2.9.22-2_amd64.deb
to main/p/pdns/pdns-backend-ldap_2.9.22-2_amd64.deb
pdns-backend-mysql_2.9.22-2_amd64.deb
to main/p/pdns/pdns-backend-mysql_2.9.22-2_amd64.deb
pdns-backend-pgsql_2.9.22-2_amd64.deb
to main/p/pdns/pdns-backend-pgsql_2.9.22-2_amd64.deb
pdns-backend-pipe_2.9.22-2_amd64.deb
to main/p/pdns/pdns-backend-pipe_2.9.22-2_amd64.deb
pdns-backend-sqlite3_2.9.22-2_amd64.deb
to main/p/pdns/pdns-backend-sqlite3_2.9.22-2_amd64.deb
pdns-backend-sqlite_2.9.22-2_amd64.deb
to main/p/pdns/pdns-backend-sqlite_2.9.22-2_amd64.deb
pdns-doc_2.9.22-2_all.deb
to main/p/pdns/pdns-doc_2.9.22-2_all.deb
pdns-server_2.9.22-2_amd64.deb
to main/p/pdns/pdns-server_2.9.22-2_amd64.deb
pdns_2.9.22-2.diff.gz
to main/p/pdns/pdns_2.9.22-2.diff.gz
pdns_2.9.22-2.dsc
to main/p/pdns/pdns_2.9.22-2.dsc
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Matthijs Mohlmann <[email protected]> (supplier of updated pdns package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Format: 1.8
Date: Mon, 02 Nov 2009 12:49:43 +0100
Source: pdns
Binary: pdns-server pdns-doc pdns-backend-pipe pdns-backend-ldap
pdns-backend-geo pdns-backend-mysql pdns-backend-pgsql pdns-backend-sqlite
pdns-backend-sqlite3
Architecture: source amd64 all
Version: 2.9.22-2
Distribution: unstable
Urgency: low
Maintainer: Debian PowerDNS Maintainers <[email protected]>
Changed-By: Matthijs Mohlmann <[email protected]>
Description:
pdns-backend-geo - geo backend for PowerDNS
pdns-backend-ldap - LDAP backend for PowerDNS
pdns-backend-mysql - generic MySQL backend for PowerDNS
pdns-backend-pgsql - generic PostgreSQL backend for PowerDNS
pdns-backend-pipe - pipe/coprocess backend for PowerDNS
pdns-backend-sqlite - sqlite backend for PowerDNS
pdns-backend-sqlite3 - sqlite backend for PowerDNS
pdns-doc - PowerDNS manual
pdns-server - extremely powerful and versatile nameserver
Closes: 333726 502981 508987 510674 518294 539465 548293 548695 552219 553150
553648
Changes:
pdns (2.9.22-2) unstable; urgency=low
.
[ Christoph Haas ]
* Fixed init.d script (Closes: #518294)
* Moved resolvconf temp file to /var/run/powerdns (Closes: #333726)
.
[ Matthijs Mohlmann ]
* Updated Standards-Version to 3.8.3
* Added russian translation (Closes: #539465)
* Added spanish translation (Closes: #508987)
* Added SQLite3 database schema to examples
* Added PostgreSQL database schema to examples
* Change libmysqlclient15-dev to libmysqlclient-dev.
* Moved from dpatch to quilt patch system.
* Fix FTBFS with gcc 4.4 (Closes: #510674)
* Added italian translation (Closes: #552219, #548695)
* Added basque translation (Closes: #553150)
* Fixed init.d script including correct dependencies and runlevels
(Closes: #548293)
* Added finnish translation (Closes: #553648)
* Implemented triggers to prevent multiple restarts (Closes: #502981)
Checksums-Sha1:
32dfd77c4cc9d5ad4b541dcfcbd0ef17ed47e2e0 1533 pdns_2.9.22-2.dsc
3d12f60b68bc8272a31ffc0c1d120aa5ce255d95 32942 pdns_2.9.22-2.diff.gz
e45e8a8e9428b4e7ceed90853a84e8dd0c44a186 795566 pdns-server_2.9.22-2_amd64.deb
25249f553f3b97daf3c4a2c4d266ceca3a717024 82254
pdns-backend-pipe_2.9.22-2_amd64.deb
cfad41c7885b4a807e360c657817f689def9d03a 283818
pdns-backend-ldap_2.9.22-2_amd64.deb
f71eec63d9ba55f81db5e0a3806ef21498b4b1fe 104676
pdns-backend-geo_2.9.22-2_amd64.deb
fdcc06bafdbc4936b99c77e4971b10027b609a9f 62922
pdns-backend-mysql_2.9.22-2_amd64.deb
e6f39d6e187131def88fa3a611610311ba3b3630 65284
pdns-backend-pgsql_2.9.22-2_amd64.deb
269ac220e39cd3aa8bfdd73bb0932e4fede83c81 61154
pdns-backend-sqlite_2.9.22-2_amd64.deb
afebdc8690a91ef5a12b973f5a31046f60664e2d 61158
pdns-backend-sqlite3_2.9.22-2_amd64.deb
9e09d33e58fae9541debfe10e08d4e03d9cd2ca0 192222 pdns-doc_2.9.22-2_all.deb
Checksums-Sha256:
9e3952883cf987b1139a23ebbf6f8acd1490fb56bb65c66159cd4363beb3d4f8 1533
pdns_2.9.22-2.dsc
0b85fb256ca6bcb6af09ca3a6622b1ddcb4107104a051cc59ed4c395fb460737 32942
pdns_2.9.22-2.diff.gz
aa5bd76d88d4f651216264841fe04bbff0a00734f5a5a5b73670423da3437af8 795566
pdns-server_2.9.22-2_amd64.deb
1f72ba383a667a4b3cdbafe486ba62fc26e9f192b862f4ba73a7f7698783d172 82254
pdns-backend-pipe_2.9.22-2_amd64.deb
59cc9918b55ac69a9c0bba9c057c2998af74b6b23a35f56effc45e36aa601d5d 283818
pdns-backend-ldap_2.9.22-2_amd64.deb
12ce33c8738564a910d5ac7e6b07453a64e82424f5ef5df07bf1a4775ac299c4 104676
pdns-backend-geo_2.9.22-2_amd64.deb
9bc81a03f5e8d649a797b836ad1e5c9553f90c024aa6a3e21958fb26d5211269 62922
pdns-backend-mysql_2.9.22-2_amd64.deb
a214e99e6d456a7de5959458e765937d6f8743abe249efb32522957c41314785 65284
pdns-backend-pgsql_2.9.22-2_amd64.deb
0accfed8d1a96c53104a0023952d59a646afe7b450b4d5f8b2078c2b902602e4 61154
pdns-backend-sqlite_2.9.22-2_amd64.deb
da2dd28ff020b3cde4ebffa60a5917ed1e532ab923d504f0420e6ed855e21af1 61158
pdns-backend-sqlite3_2.9.22-2_amd64.deb
85241f0ef32f82b9a5390469f1ee63c45db53b585c0e009da7fa8a919eba32c3 192222
pdns-doc_2.9.22-2_all.deb
Files:
90d5586d0de890c9df631ddc852819f1 1533 net extra pdns_2.9.22-2.dsc
0d7fdfed3e55e6f28820c6b8816b16bb 32942 net extra pdns_2.9.22-2.diff.gz
3ed14d07146b42761efc6b01cbff97c0 795566 net extra
pdns-server_2.9.22-2_amd64.deb
8efb130dc93fc067d461bda3a5b2b4aa 82254 net extra
pdns-backend-pipe_2.9.22-2_amd64.deb
92fcad2bd77a289bb4704f90dbfa126c 283818 net extra
pdns-backend-ldap_2.9.22-2_amd64.deb
51148d4799d1a661d4d316ae0cbe0308 104676 net extra
pdns-backend-geo_2.9.22-2_amd64.deb
876237eff967168c9231442949ec2914 62922 net extra
pdns-backend-mysql_2.9.22-2_amd64.deb
fa2726ddc9172295c9f1140de9361823 65284 net extra
pdns-backend-pgsql_2.9.22-2_amd64.deb
56db1bfee68136805d6f5063a73139df 61154 net extra
pdns-backend-sqlite_2.9.22-2_amd64.deb
81c802c9e2e96e4ecd541fc008c14d91 61158 net extra
pdns-backend-sqlite3_2.9.22-2_amd64.deb
f6b730c3c418b0a6c3850d8f88851fe2 192222 doc extra pdns-doc_2.9.22-2_all.deb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
iEYEARECAAYFAkrx9SAACgkQ2n1ROIkXqbCgbgCdGRV8KVMvoxKtH1VOpOK3zJMd
z3YAoI1MUpovvfe4rwpl8QnoEMv9wNEs
=Ov5n
-----END PGP SIGNATURE-----
--- End Message ---