/usr/share/bind9/bind9-default.md5sum should be in conffiles

Bug #681536 reported by Dave Pifke
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
bind9 (Debian)
Fix Released
Unknown
bind9 (Ubuntu)
Fix Released
Medium
Unassigned

Bug Description

Binary package hint: bind9

Ubuntu release: Ubuntu 10.04.1 LTS
bind9 version: 1:9.7.0.dfsg.P1-1 0

Running debsums on my system returns an error because /usr/share/bind9/bind9-default.md5sums differs from the file that ships with the package. Looking at bind9's postinst script (line 110), it appears this file is overwritten at package installation time with the md5sum of /etc/default/bind9. As such, it seems the md5sum file should be included in conffifles since it's tied to the local configuration.

Expected behavior:

debsums should not alert me to changed files in the bind9 package due to configuration changes in /etc/default.

Scott Moser (smoser)
Changed in bind9 (Ubuntu):
importance: Undecided → Medium
status: New → Triaged
Revision history for this message
Michael Vogt (mvo) wrote :

I filed a bug in debian about this, but IMO we should simply kill the following lines from bind9.postinst:

    if [ "$config" = "/etc/default/bind9" ]; then
        md5sum /etc/default/bind9 > /usr/share/bind9/bind9-default.md5sum
    fi

or stop shipping a default md5sum in the package itself.

Changed in bind9 (Debian):
status: Unknown → New
LaMont Jones (lamont)
Changed in bind9 (Ubuntu):
status: Triaged → Fix Committed
Changed in bind9 (Debian):
status: New → Fix Released
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package bind9 - 1:9.8.1.dfsg.P1-3

---------------
bind9 (1:9.8.1.dfsg.P1-3) unstable; urgency=low

  [Zlatan Todoric]

  * fixed Serbian latin translation of debconf template. Closes: #634951

  [Peter Eisentraut]

  * Add support for "status" action to lwresd init script. Closes: #651540

  [Bjørn Steensrud]

  * NB Translations. Closes: #654454

  [LaMont Jones]

  * Default to run_resolvconf=false. LP: #933723
  * Deliver named.conf.options on fresh install. Closes: #657042 LP: #920202
  * Do not deliver /usr/share/bind9/bind9-default.md5sum in the bind9 deb.
    Closes: #620007 LP: #681536
  * Deliver and use /etc/apparmor.d/local/usr.sbin.named for local overrides.
    LP: #929563

 -- LaMont Jones <email address hidden> Fri, 17 Feb 2012 14:40:29 -0800

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

Other bug subscribers

Remote bug watches

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