leftover /etc/init.d/bind9.dpkg-dist on each upgrade

Bug #556332 reported by Michael Vogt on 2010-04-06
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
bind9 (Debian)
Fix Released
Unknown
bind9 (Ubuntu)
Low
Unassigned

Bug Description

Binary package hint: bind9

When doing a server upgrade with all server tasks installed I get a .dpkg-dist file in /etc/default/bind9.dpkg-dist. This causes the auto-upgrade-tester to assume its a leftover conffile. When I diff the bind9 and bind9.dpkg-dist files they are the same.

It turns out that:
 /usr/share/bind9/bind9-default.md5sum
is different from
 /etc/default/bind9
and this cause the postinst script to write a dpkg-dist file.

But it gets stranger, when I tried to track this, I logged into a clean karmic chroot and ran:
# apt-get install bind9
# cd /
# md5sum -c --quiet /var/lib/dpkg/info/bind9.md5sums
usr/share/bind9/bind9-default.md5sum: FAILED
md5sum: WARNING: 1 of 32 computed checksums did NOT match

?!?

Related branches

The same md5sum error is produced in lucid for me (in a clean chroot).

summary: - conffile prompt on 9.10 -> 10.04
+ leftover /etc/init.d/bind9.dpkg-dist on 9.10 -> 10.04
Thierry Carrez (ttx) on 2010-04-08
Changed in bind9 (Ubuntu):
importance: Undecided → Low
status: New → Confirmed
Michael Vogt (mvo) wrote :

I uploaded a fix for this now into natty, its just:

--- bind9-9.7.3.dfsg/debian/bind9-default.md5sum
+++ bind9-9.7.3.dfsg/debian/bind9-default.md5sum
@@ -1 +1 @@
-1229a956d3c6ca11fa344d69f082d7ca /etc/default/bind9
+2cfcfb7bf1b99c7930fd475907e38be7 /etc/default/bind9

so the default md5sum is out of date.

Michael Vogt (mvo) on 2011-03-29
summary: - leftover /etc/init.d/bind9.dpkg-dist on 9.10 -> 10.04
+ leftover /etc/init.d/bind9.dpkg-dist on each upgrade
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package bind9 - 1:9.7.3.dfsg-1ubuntu1

---------------
bind9 (1:9.7.3.dfsg-1ubuntu1) natty; urgency=low

  * debian/bind9-default.md5sum:
    - updated to reflect the default md5sum in maverick and natty, this
      avoids a bogus /etc/default/bind9.dpkg-dist file
      (LP: #556332)
 -- Michael Vogt <email address hidden> Tue, 29 Mar 2011 10:13:11 +0200

Changed in bind9 (Ubuntu):
status: Confirmed → Fix Released
Changed in bind9 (Debian):
status: Unknown → New
Changed in bind9 (Debian):
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.