Debian Bug report logs - #453765
bind9 stops during upgrade

version graph

Package: bind9; Maintainer for bind9 is Debian DNS Packaging <pkg-dns-devel@lists.alioth.debian.org>; Source for bind9 is src:bind9 (PTS, buildd, popcon).

Reported by: Craig Sanders <cas@taz.net.au>

Date: Sat, 1 Dec 2007 01:51:01 UTC

Severity: normal

Found in versions bind9/1:9.4.2-1, bind9/1:9.4.2-4

Fixed in version bind9/1:9.5.0.dfsg-2

Done: LaMont Jones <lamont@debian.org>

Bug is archived. No further changes may be made.

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to debian-bugs-dist@lists.debian.org, LaMont Jones <lamont@debian.org>:
Bug#453765; Package bind9. (full text, mbox, link).


Acknowledgement sent to Craig Sanders <cas@taz.net.au>:
New Bug report received and forwarded. Copy sent to LaMont Jones <lamont@debian.org>. (full text, mbox, link).


Message #5 received at submit@bugs.debian.org (full text, mbox, reply):

From: Craig Sanders <cas@taz.net.au>
To: submit@bugs.debian.org
Subject: bind9 stops during upgrade
Date: Sat, 1 Dec 2007 12:47:59 +1100
Package: bind9
Version: 1:9.4.2-1

when upgrading bind9, named is stopped until the upgrade is completed. 

this could be a LONG time during an apt-get {dist-,dselect-,}upgrade, 
especially if there are any debconf questions waiting to be answered.

this has an obvious seriously detrimental and prolonged effect on the
entire local network which depends on that nameserver.


wouldn't it make more sense to leave named running during the upgrade
and reload or restart it in the postinst?


e.g.

# apt-get dist-upgrade

[ ... dozens of lines deleted ...]

Preparing to replace bind9 1:9.4.1-P1-4 (using .../b/bind9/bind9_9.4.2-1_i386.deb) ...
Stopping domain name service...: bind.
Unpacking replacement bind9 ...

[... hundreds of lines deleted ...]


i got tired of waiting and ended up having to interrupt the upgrade and
run the following to get DNS working on my network again:

dpkg --configure bind9 libbind9-30 libdns32 libisc32 libisccc30 liblwres30 libisccfg30 

(it took a few attempts to figure out the dependancies that also needed
to be configured)


craig

-- 
craig sanders <cas@taz.net.au>

The default Magic Word, "Abracadabra", actually is a corruption of the
Hebrew phrase "ha-Bracha dab'ra" which means "pronounce the blessing".




Bug marked as found in version 1:9.4.2-4. Request was from Craig Sanders <cas@taz.net.au> to control@bugs.debian.org. (Sun, 02 Mar 2008 02:48:02 GMT) (full text, mbox, link).


Information forwarded to debian-bugs-dist@lists.debian.org, LaMont Jones <lamont@debian.org>:
Bug#453765; Package bind9. (full text, mbox, link).


Acknowledgement sent to Craig Sanders <cas@taz.net.au>:
Extra info received and forwarded to list. Copy sent to LaMont Jones <lamont@debian.org>. (full text, mbox, link).


Message #12 received at 453765@bugs.debian.org (full text, mbox, reply):

From: Craig Sanders <cas@taz.net.au>
To: 453765@bugs.debian.org
Subject: RE: bind9 stops during upgrade
Date: Sun, 16 Mar 2008 01:15:59 +1100
i've just found the exact same bug in rsyslog. it also stops at the
beginning of the upgrade (in the .prerm script), and only starts again
in the .postinst script.

in both packages, it's due to either the use of dh_installinit or the
misuse of it - not supplying the right args (e.g. '-n' to not modify the
pre/post* scripts, or perhaps --no-start)

in both cases, it results in critical disruption of system and network
services: both named and rsyslog (and presumably several other packages
which use dh_installinit in the same way) are shut down for the entire
duration of the upgrade.

this is broken behaviour for both daemons, indeed for ANY daemon.
downtime is something to be avoided, to be minimised as much as
possible.


see bug 471051 about rsyslog for more info.


craig

-- 
craig sanders <cas@taz.net.au>

"If priests had not been fond of mutton, lambs never would have been sacrified
 to god.  Nothing was ever carried to the temple that the priest could not use,
 and it always happened that god wanted what his agents liked."
             [Robert G. Ingersoll, "A Christmas Sermon"
              printed in Evening Telegraph, Dec. 19, 1891]




Tags added: pending Request was from LaMont Jones <lamont@debian.org> to control@bugs.debian.org. (Fri, 13 Jun 2008 21:30:10 GMT) (full text, mbox, link).


Tags added: pending Request was from LaMont Jones <lamont@debian.org> to control@bugs.debian.org. (Fri, 13 Jun 2008 22:06:02 GMT) (full text, mbox, link).


Reply sent to LaMont Jones <lamont@debian.org>:
You have taken responsibility. (full text, mbox, link).


Notification sent to Craig Sanders <cas@taz.net.au>:
Bug acknowledged by developer. (full text, mbox, link).


Message #21 received at 453765-close@bugs.debian.org (full text, mbox, reply):

From: LaMont Jones <lamont@debian.org>
To: 453765-close@bugs.debian.org
Subject: Bug#453765: fixed in bind9 1:9.5.0.dfsg-2
Date: Fri, 13 Jun 2008 23:32:04 +0000
Source: bind9
Source-Version: 1:9.5.0.dfsg-2

We believe that the bug you reported is fixed in the latest version of
bind9, which is due to be installed in the Debian FTP archive:

bind9-doc_9.5.0.dfsg-2_all.deb
  to pool/main/b/bind9/bind9-doc_9.5.0.dfsg-2_all.deb
bind9-host_9.5.0.dfsg-2_i386.deb
  to pool/main/b/bind9/bind9-host_9.5.0.dfsg-2_i386.deb
bind9_9.5.0.dfsg-2.diff.gz
  to pool/main/b/bind9/bind9_9.5.0.dfsg-2.diff.gz
bind9_9.5.0.dfsg-2.dsc
  to pool/main/b/bind9/bind9_9.5.0.dfsg-2.dsc
bind9_9.5.0.dfsg-2_i386.deb
  to pool/main/b/bind9/bind9_9.5.0.dfsg-2_i386.deb
bind9utils_9.5.0.dfsg-2_i386.deb
  to pool/main/b/bind9/bind9utils_9.5.0.dfsg-2_i386.deb
dnsutils_9.5.0.dfsg-2_i386.deb
  to pool/main/b/bind9/dnsutils_9.5.0.dfsg-2_i386.deb
libbind-dev_9.5.0.dfsg-2_i386.deb
  to pool/main/b/bind9/libbind-dev_9.5.0.dfsg-2_i386.deb
libbind9-40_9.5.0.dfsg-2_i386.deb
  to pool/main/b/bind9/libbind9-40_9.5.0.dfsg-2_i386.deb
libdns42_9.5.0.dfsg-2_i386.deb
  to pool/main/b/bind9/libdns42_9.5.0.dfsg-2_i386.deb
libisc41_9.5.0.dfsg-2_i386.deb
  to pool/main/b/bind9/libisc41_9.5.0.dfsg-2_i386.deb
libisccc40_9.5.0.dfsg-2_i386.deb
  to pool/main/b/bind9/libisccc40_9.5.0.dfsg-2_i386.deb
libisccfg40_9.5.0.dfsg-2_i386.deb
  to pool/main/b/bind9/libisccfg40_9.5.0.dfsg-2_i386.deb
liblwres40_9.5.0.dfsg-2_i386.deb
  to pool/main/b/bind9/liblwres40_9.5.0.dfsg-2_i386.deb
lwresd_9.5.0.dfsg-2_i386.deb
  to pool/main/b/bind9/lwresd_9.5.0.dfsg-2_i386.deb



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 453765@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
LaMont Jones <lamont@debian.org> (supplier of updated bind9 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 ftpmaster@debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.7
Date: Fri, 13 Jun 2008 16:54:42 -0600
Source: bind9
Binary: bind9 bind9utils bind9-doc bind9-host libbind-dev libbind9-40 libdns42 libisc41 liblwres40 libisccc40 libisccfg40 dnsutils lwresd
Architecture: all i386 source 
Version: 1:9.5.0.dfsg-2
Distribution: unstable
Urgency: low
Maintainer: LaMont Jones <lamont@debian.org>
Changed-By: LaMont Jones <lamont@debian.org>
Description: 
 bind9      - Internet Domain Name Server
 bind9-doc  - Documentation for BIND
 bind9-host - Version of 'host' bundled with BIND 9.X
 bind9utils - Utilities for BIND
 dnsutils   - Clients provided with BIND
 libbind-dev - Static Libraries and Headers used by BIND
 libbind9-40 - BIND9 Shared Library used by BIND
 libdns42   - DNS Shared Library used by BIND
 libisc41   - ISC Shared Library used by BIND
 libisccc40 - Command Channel Library used by BIND
 libisccfg40 - Config File Handling Library used by BIND
 liblwres40 - Lightweight Resolver Library used by BIND
 lwresd     - Lightweight Resolver Daemon
Closes: 453765 483872 483911 485747
Launchpad-Bugs-Fixed: 226495
Changes: 
 bind9 (1:9.5.0.dfsg-2) unstable; urgency=low
 .
   [Tim Spriggs]
 .
   * init.d: Nexenta has different ifconfig arguments
 .
   [LaMont Jones]
 .
   * templates rework from debian-l10n-english
   * reload named when an interface goes up or down.  LP: #226495
   * build: need to create the directories for interface restart triggering
   * Build-Depends: libcap2-dev.  Closes: #485747
   * Leave named running during update.  Closes: #453765
   * Fix path to uname, cleaning up the nexenta checks.
   * l10n: avoid double-question in templates.
 .
   [localization folks]
 .
   * l10n: Vietnamese debconf translations.  Closes: #483911 (Clytie Siddall)
   * l10n: Portuguese debconf translations.  Closes: #483872 (Traduz -
     Portuguese Translation Team)
Files: 
 03617249fa382c2fd9d2846b30b91ea4 188430 net optional lwresd_9.5.0.dfsg-2_i386.deb
 1ec581c32b1ec40ca59e4931a3f1fec3 139582 libs standard libisc41_9.5.0.dfsg-2_i386.deb
 200b5d6a5a75f9d1c319f1a320c3e875 87282 net optional bind9utils_9.5.0.dfsg-2_i386.deb
 2c49e6ec8ca8590571d5b5311276aeb5 40316 libs optional libisccfg40_9.5.0.dfsg-2_i386.deb
 35fe3185e8a08d7cf158039e5cb27e6b 231460 net optional bind9_9.5.0.dfsg-2_i386.deb
 39b0edc4ac8562d11e82e87b490b2ed8 114128 net standard dnsutils_9.5.0.dfsg-2_i386.deb
 730b37ae36e6f0c2a01bdad5e435e3e5 1113594 libdevel optional libbind-dev_9.5.0.dfsg-2_i386.deb
 753bd9bc849678b4ae68764d45626bb9 255404 doc optional bind9-doc_9.5.0.dfsg-2_all.deb
 93531e76a8bba86163195709ef3f8429 41050 libs standard liblwres40_9.5.0.dfsg-2_i386.deb
 cd57a3cb3078c8efb50522e7926d6ff9 947 net optional bind9_9.5.0.dfsg-2.dsc
 a6b0bec3f0974c2b69fa7c1fc62df083 254015 net optional bind9_9.5.0.dfsg-2.diff.gz
 beb3096d12d08608901beaa932eceb42 523400 libs standard libdns42_9.5.0.dfsg-2_i386.deb
 bfdd526414f30efeacd1c41e7f8a0c71 45438 net standard bind9-host_9.5.0.dfsg-2_i386.deb
 c6d7e3b9c27c00f5398f5d08bb6db7c5 28878 libs standard libbind9-40_9.5.0.dfsg-2_i386.deb
 da4a62d7cd18e2a2b5f27bf4ad59f88d 23952 libs optional libisccc40_9.5.0.dfsg-2_i386.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFIUv5/zN/kmwoKyScRAgPvAJ0Tprb6Bja0SNQ5msKhscGezcGIfgCdHnZf
FWmwzl7AU5As3iNybLkaXrI=
=CCUJ
-----END PGP SIGNATURE-----





Bug archived. Request was from Debbugs Internal Request <owner@bugs.debian.org> to internal_control@bugs.debian.org. (Wed, 15 Apr 2009 07:30:51 GMT) (full text, mbox, link).


Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Fri Jan 5 16:16:56 2018; Machine Name: beach

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.