Installing bind9 and resolvconf at the same time fails

Bug #471975 reported by ChrisOkamoto
54
This bug affects 10 people
Affects Status Importance Assigned to Milestone
resolvconf (Ubuntu)
Low
Unassigned
Nominated for Lucid by Jonathan Reed

Bug Description

Binary package hint: bind9

I typed "sudo apt-get install bind9 resolvconf" on Terminal. The installation didn't complete... This message appeared: "E: Sub-process /usr/bin/dpkg returned an error code (1)"

ProblemType: Package
Architecture: i386
Date: Mon Nov 2 22:38:07 2009
DistroRelease: Ubuntu 9.10
ErrorMessage: sub-processo script post-installation instalado foi morto por sinal (Interrupção)
NonfreeKernelModules: wl
Package: bind9 1:9.6.1.dfsg.P1-3 [modified: usr/share/bind9/bind9-default.md5sum]
ProcVersionSignature: Ubuntu 2.6.31-14.48-generic
SourcePackage: bind9
Title: package bind9 1:9.6.1.dfsg.P1-3 [modified: usr/share/bind9/bind9-default.md5sum] failed to install/upgrade: sub-processo script post-installation instalado foi morto por sinal (Interrupção)
Uname: Linux 2.6.31-14-generic i686

Related branches

Revision history for this message
ChrisOkamoto (christiane-okamoto) wrote :
Revision history for this message
Thierry Carrez (ttx) wrote :

Looking at the logs there seem to be severa

 * Starting domain name service... bind9  resolvconf: Error: /etc/resolv.conf must be a symlink

invoke-rc.d: initscript bind9, action "start" failed.

^Cdpkg: erro processando bind9 (--configure):

 sub-processo script post-installation instalado foi morto por sinal (Interrupção)

Revision history for this message
Thierry Carrez (ttx) wrote :

This is a race between resolvconf and bind9 installs.
"sudo apt-get install bind9 resolvconf" results in:
bind9 unpack
resolvconf unpack
bind9 configure > fails to start with "resolvconf: Error: /etc/resolv.conf must be a symlink"

bind9 starts up while the link isn't set up yet (will be done in resolvconf configure)

Doing the install in two separate runs works:
sudo apt-get install resolvconf
sudo apt-get install bind9

Changed in bind9 (Ubuntu):
importance: Undecided → Low
status: New → Confirmed
summary: - package bind9 1:9.6.1.dfsg.P1-3 [modified:
- usr/share/bind9/bind9-default.md5sum] failed to install/upgrade: sub-
- processo script post-installation instalado foi morto por sinal
- (Interrupção)
+ Installing bind9 and resolvconf at the same time fails
Revision history for this message
LaMont Jones (lamont) wrote :

resolvconf needs to not fail when invoked by bind9 during bind9's configure while resolvconf is unpacked but not configured.

affects: bind9 (Ubuntu) → resolvconf (Ubuntu)
Revision history for this message
Alex (alex-miller422) wrote :

 Is this causing Bug #510497

Revision history for this message
Thomas Hood (jdthood) wrote :

This is Debian bug #551999 which was fixed in Debian resolvconf release 1.49. The current version of resolvconf in Debian is 1.58.

Thomas Hood (jdthood)
Changed in resolvconf (Ubuntu):
status: Confirmed → In Progress
Thomas Hood (jdthood)
Changed in resolvconf (Ubuntu):
status: In Progress → Fix Committed
Revision history for this message
Thomas Hood (jdthood) wrote :

A new Ubuntu resolvconf package has been prepared by the Debian maintainers.

I ask you to test this new package before we upload it to the Ubuntu repos.

Please install the resolvconf package from ppa:jdthood/resolvconf (https://launchpad.net/~jdthood/+archive/resolvconf) and let me know whether or not you have any problems with it.
--
Thomas Hood
Debian resolvconf maintainers
<email address hidden>

Revision history for this message
Launchpad Janitor (janitor) wrote :
Download full text (10.3 KiB)

This bug was fixed in the package resolvconf - 1.63ubuntu1

---------------
resolvconf (1.63ubuntu1) precise; urgency=low

  [ Thomas Hood ]
  * Debian fixed bugs (LP: #797339, #871058, #471975, #378844, #894417)
  * Differences from Debian:
    - /sbin/resolvconf:
      + Exit if /etc/resolv.conf is not a symlink
    - debian/rules:
      + Install upstart script rather than initscript (LP: #366967, #750423)
    - debian/{pre,post}inst
      + Migrate (to /run) from /var/run, not from /lib/init/rw.
      + [0706f28] Remove old Sys V init scripts and symlinks
  * Thanks to Sander van Grieken for his assistance with this release.

resolvconf (1.63) unstable; urgency=low

  [ Thomas Hood ]
  * [a83fce3] Depend on a later version of the initscripts package
  * [cfc8349] Use variable instead of hard-coded path for old run dir
    in maintainer scripts, to help shrink the Ubuntu diff.
  * [9921902] Update and improve resolvconf(8)
  * [719dc9b] Run update on boot (Closes: #651801, #651827)
  * [5fc985c] Don't trigger on reconfigure (Closes: #651803)

resolvconf (1.62) unstable; urgency=low

  [ Thomas Hood ]
  * [0352a85] postrm: On removal restore original resolv.conf if current
    (dynamic) resolv.conf has no content. (Closes: #644956)
    Thanks to Josep Lladonosa Capell.
  * [7cdfa73] Move logic details from initscript to /sbin/resolvconf;
    for this purpose add new options to /sbin/resolvconf:
    --enable-updates, --disable-updates, --updates-are-enabled,
    --create-runtime-directories.
  * [7cdfa73] Eliminate "-i" option supplied to update scripts and
    the code in /etc/resolvconf/update.d/libc that made use of this.

  [ Marco Nenciarini ]
  * [e175b76] Remove hardcoded path from resolvconf's invocation in
    maintainer scripts. Thanks to lintian

resolvconf (1.61) unstable; urgency=low

  * [cbb5105] list-records: Add comment re: extglob; speed up final loop
  * [4492943] Eliminate bashisms from /sbin/resolvconf. (Other scripts in this
    package still use bash, though, so this does not close wish #519364.)
    Thanks to Stefan Monnier
  * [63da54b] update.d/libc: Only run-parts update-libc.d/ if the latter exists.
    (Closes: #642965)

resolvconf (1.60) unstable; urgency=low

  [ Marco Nenciarini ]
  * [c30024e] Switch vcs fields to git
  * [4041409] Add debian/gbp.conf to make easy the usage of
    git-buildpackage

  [ Thomas Hood ]
  * [18e2fac] Update es.po thanks to Javier Fernández-Sanguino
    (Closes: #642360)
  * [18e2fac] Include resolv.conf.d/base information in
    resolv.conf *after* dynamic information, rather than before
    (Closes: #642222)

resolvconf (1.59) unstable; urgency=low

  * dhclient-enter-hooks.d/resolvconf: Add support for dhclient
    DHCPv6 (Closes: #635470)
  * postinst: Fail with message if /etc/resolv.conf is immutable
    (Closes: #635775)
  * Mention in resolvconf(8) that /etc/default/resolvconf has
    to be created if it is to be used to set resolvconf environment
    variables (Closes: #633014)
  * Drop outdated id.po

resolvconf (1.58) unstable; urgency=low

  [ Thomas Hood ]
  * Update README
  * Update debconf template translations:
    * da.po thanks to Joe Dalton (Closes: #630241)
  ...

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

Duplicates of this bug

Other bug subscribers