Package: dhcp3-client
Version 3.0.4-6
Severity: grave

When installing dhcp3-client using the Etch installer, by selecting it
as a package to install during the 'select packages to install' step
(pkgsel), the installer locks up.  The reason for this is that the
base system includes dhcp-client, and this conflicts with
dhcp3-client, and is thus removed but leave its
/etc/dhcp3/dhclient.conf behind.

This in turn trigger a dpkg conffile question and this question is
never presented to the user and the installer locks up completely. The
question is only listed in the log, and hidden behind the debconf
progress bar showing the progress of tasksel.  I'm not sure how to fix
this problem, but believe no conffile question should be triggered
when the sysadmin haven't edited a file yet, and defintely not because
a package left behind a file after it was removed.

I'm setting severity grave as this issue break the installer, as it
locks up at that point and is unable to continue until I kill the
running dpkg process.

To demonstrate this issue, install the base system using debootstrap,
and install dhcp3-client in this chroot.

  debootstrap etch dhclient-test http://ftp.skolelinux.no/debian
  chroot dhclient-test aptitude -y install dhcp3-client

This will halt with a conffile question.  Here is the complete output
from the package installation:

# chroot dhclient-test aptitude -y install dhcp3-client
Reading package lists... Done
Building dependency tree... Done
Initializing package states... Done
Reading task descriptions... Done
Building tag database... Done
The following NEW packages will be automatically installed:
  dhcp3-common
The following packages will be automatically REMOVED:
  dhcp-client
The following NEW packages will be installed:
  dhcp3-client dhcp3-common
The following packages will be REMOVED:
  dhcp-client
0 packages upgraded, 2 newly installed, 1 to remove and 0 not upgraded.
Need to get 456kB of archives. After unpacking 856kB will be used.
WARNING: untrusted versions of the following packages will be installed!

Untrusted packages could compromise your system's security.
You should only proceed with the installation if you are certain that
this is what you want to do.

  dhcp3-client dhcp3-common

Do you want to ignore this warning and proceed anyway?
To continue, enter "Yes"; to abort, enter "No": Yes
Writing extended state information... Done
Get:1 http://ftp.skolelinux.no etch/main dhcp3-common 3.0.4-6 [264kB]
Get:2 http://ftp.skolelinux.no etch/main dhcp3-client 3.0.4-6 [192kB]
Fetched 456kB in 0s (7327kB/s)
Preconfiguring packages ...
(Reading database ... 7144 files and directories currently installed.)
Removing dhcp-client ...
Selecting previously deselected package dhcp3-common.
(Reading database ... 7129 files and directories currently installed.)
Unpacking dhcp3-common (from .../dhcp3-common_3.0.4-6_i386.deb) ...
Selecting previously deselected package dhcp3-client.
Unpacking dhcp3-client (from .../dhcp3-client_3.0.4-6_i386.deb) ...
Setting up dhcp3-common (3.0.4-6) ...
Setting up dhcp3-client (3.0.4-6) ...

Configuration file `/etc/dhcp3/dhclient.conf'
 ==> File on system created by you or by a script.
 ==> File also in package provided by package maintainer.
   What would you like to do about it ?  Your options are:
    Y or I  : install the package maintainer's version
    N or O  : keep your currently-installed version
      D     : show the differences between the versions
      Z     : background this process to examine the situation
 The default action is to keep your current version.
*** dhclient.conf (Y/I/N/O/D/Z) [default=N] ? d
--- /etc/dhcp3/dhclient.conf    2006-09-04 21:12:53.000000000 +0000
+++ /etc/dhcp3/dhclient.conf.dpkg-new   2006-06-20 18:15:26.000000000 +0000
@@ -1,5 +1,5 @@
-# /etc/dhclient.conf file for /sbin/dhclient included in Debian's
-#      dhcp-client package.
+# Configuration file for /sbin/dhclient, which is included in Debian's
+#      dhcp3-client package.
 #
 # This is a sample configuration file for dhclient. See dhclient.conf's
 #      man page for more information about the syntax of this file
@@ -16,15 +16,16 @@
 #send dhcp-lease-time 3600;
 #supersede domain-name "fugue.com home.vix.com";
 #prepend domain-name-servers 127.0.0.1;
-#request subnet-mask, broadcast-address, time-offset, routers,
-#      domain-name, domain-name-servers, host-name;
+request subnet-mask, broadcast-address, time-offset, routers,
+       domain-name, domain-name-servers, host-name,
+       netbios-name-servers, netbios-scope, interface-mtu;
 #require subnet-mask, domain-name-servers;
 #timeout 60;
 #retry 60;
 #reboot 10;
 #select-timeout 5;
 #initial-interval 2;
-#script "/etc/dhclient-script";
+#script "/etc/dhcp3/dhclient-script";
 #media "-link0 -link1 -link2", "link0 link1";
 #reject 192.33.137.209;


Configuration file `/etc/dhcp3/dhclient.conf'
 ==> File on system created by you or by a script.
 ==> File also in package provided by package maintainer.
   What would you like to do about it ?  Your options are:
    Y or I  : install the package maintainer's version
    N or O  : keep your currently-installed version
      D     : show the differences between the versions
      Z     : background this process to examine the situation
 The default action is to keep your current version.
*** dhclient.conf (Y/I/N/O/D/Z) [default=N] ? y
Installing new version of config file /etc/dhcp3/dhclient.conf ...

#


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to