/sbin/dhclient3 remains after all dhcp3 packages purged

Bug #768171 reported by Kenyon Ralph
70
This bug affects 11 people
Affects Status Importance Assigned to Milestone
ifupdown (Ubuntu)
Invalid
Undecided
Unassigned
isc-dhcp (Debian)
Fix Released
Unknown
isc-dhcp (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

After upgrading from maverick to natty, I purged all dhcp3 packages since they were replaced with version 4 packages:

% aptitude search '?source-package(isc-dhcp)'
p dhcp3-client - ISC DHCP server (transitional package)
p dhcp3-common - ISC DHCP common files (transitional package)
p dhcp3-dev - ISC DHCP development files (transitional package)
p dhcp3-relay - ISC DHCP relay (transitional package)
p dhcp3-server - ISC DHCP server (transitional package)
i A isc-dhcp-client - ISC DHCP client
p isc-dhcp-client-dbg - ISC DHCP client (debugging symbols)
i A isc-dhcp-common - common files used by all the isc-dhcp* packages
p isc-dhcp-dev - API for accessing and modifying the DHCP server and client state
p isc-dhcp-relay - ISC DHCP relay daemon
p isc-dhcp-relay-dbg - DHCP relay daemon (debugging symbols)
i isc-dhcp-server - ISC DHCP server for automatic IP address assignment
p isc-dhcp-server-dbg - ISC DHCP server for automatic IP address assignment (debug)
p isc-dhcp-server-ldap - DHCP server able to use LDAP as backend

However, /sbin/dhclient3 still remains, owned by the isc-dhcp-client package:

% dpkg-query --search /sbin/dhclient3
isc-dhcp-client: /sbin/dhclient3

% file /sbin/dhclient3
/sbin/dhclient3: symbolic link to `dhclient'

I think it is wrong that isc-dhcp-client version four is providing a dhclient3 file.

It is a problem because ifupdown first checks for dhclient3 and runs that, using a lease directory option of /var/lib/dhcp3. This is a problem if you remove dhcp3 directories.

Also, the Debian isc-dhcp-client package does not contain the /sbin/dhclient3 symlink. This bug may be relevant: http://bugs.debian.org/588203

ProblemType: Bug
DistroRelease: Ubuntu 11.04
Package: isc-dhcp-client 4.1.1-P1-15ubuntu9
ProcVersionSignature: Ubuntu 2.6.38-8.42-generic 2.6.38.2
Uname: Linux 2.6.38-8-generic i686
Architecture: i386
Date: Thu Apr 21 01:52:00 2011
DhclientLeases:

ProcCmdLine: BOOT_IMAGE=/boot/vmlinuz-2.6.38-8-generic root=UUID=862f0e74-6fe8-40a8-aef1-ed3aaaab5154 ro
ProcEnviron:
 PATH=(custom, user)
 LANG=en_US.UTF-8
 SHELL=/bin/sh
ProcVersionSignature_: Ubuntu 2.6.38-8.42-generic 2.6.38.2
SourcePackage: isc-dhcp
UpgradeStatus: Upgraded to natty on 2011-04-16 (5 days ago)

Related branches

CVE References

Revision history for this message
Kenyon Ralph (kralph) wrote :
Revision history for this message
Tuomas Heino (iheino+ub) wrote :

Quoted part of this bug's description in Bug #799136 comments, wonder whether it should be marked as dupe of this.

Changed in isc-dhcp (Ubuntu):
status: New → Confirmed
Revision history for this message
Kenyon Ralph (kralph) wrote :

I marked this bug as affecting ifupdown because Bug #840947 is caused by this bug in isc-dhcp-client.

Changed in ifupdown (Ubuntu):
status: New → Confirmed
Revision history for this message
Kenyon Ralph (kralph) wrote :

I believe this commit fixes this bug: http://anonscm.debian.org/gitweb/?p=pkg-dhcp/isc-dhcp.git;a=commitdiff;h=0319be471fc5eb257c9c5c830d4290fa2a6b9629

It's part of isc-dhcp 4.2.2-1 in Debian unstable, which is not in any Ubuntu release yet. https://launchpad.net/ubuntu/+source/isc-dhcp/+publishinghistory

Changed in isc-dhcp (Ubuntu):
status: Confirmed → Fix Committed
Changed in isc-dhcp (Debian):
status: Unknown → Fix Committed
Changed in isc-dhcp (Debian):
status: Fix Committed → Fix Released
Steve Langasek (vorlon)
Changed in ifupdown (Ubuntu):
status: Confirmed → Invalid
Revision history for this message
Jarl (jarl-dk) wrote :

This problem exists also on a clean oneiric.

Revision history for this message
William King (quentusrex) wrote :

Confirmed exists in clean oneiric.

Revision history for this message
Stéphane Graber (stgraber) wrote :

Reverting status in Ubuntu as we're not using isc-dhcp 4.2 and so the fix didn't make its way into Ubuntu.

However ifupdown was changed to do the right thing now and we'll be dropping dhclient3 in 12.10 when merging ISC 4.2 from Debian.

Changed in isc-dhcp (Ubuntu):
status: Fix Committed → Triaged
Changed in isc-dhcp (Ubuntu):
status: Triaged → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :
Download full text (7.6 KiB)

This bug was fixed in the package isc-dhcp - 4.2.4-1ubuntu1

---------------
isc-dhcp (4.2.4-1ubuntu1) quantal; urgency=low

  * Merge from Debian. Remaining changes:
    (LP: #768171, LP: #841182, LP: #881558, LP: #872929, LP: #616809)
    - Use upstart jobs for isc-dhcp-server and isc-dhcp-relay.
    - Add IPv6 support to udeb dhclient-script (forwarded as Debian #635897).
    - Add an apport hook to isc-dhcp-client and isc-dhcp-server.
    - Add an apparmor profile to isc-dhcp-client and isc-dhcp-server.
    - Update default dhclient.conf to ask for IPv6 configuration.
    - Patches:
      + dhclient-fix-backoff
      + dhclient-more-debug
      + dhclient-onetry-call-clientscript
      + dhclient-safer-timeout
      + dhcpd.conf-subnet-examples
      + multi-ip-addr-per-if
      + onetry_retry_after_initial_success
      + revert-next-server
  * Set fqdn.fqdn to the result of gethostname(); (LP: #991360)
  * Replace old droppriv and deroot patches by use of --enable-paranoia
    and matching -user and -group parameters to dhcpd. (LP: #727837)
  * Allow read access to /etc/dhcp/ddns-keys/* for ddns. (LP: #341817)
    It's expected that people generate one key per zone and have it stored
    in both /etc/bind9 and /etc/dhcp/ddns-keys/ for security reason.
  * Fix apport hook to work with python3.

isc-dhcp (4.2.4-1) unstable; urgency=low

  * New upstream release
  * debian/control: reformatted Uploaders so that dch doesn't think I'm making
    NMUs
  * debian/rules: do a clean between the LDAP-enabled build and the
    non-LDAP-enabled one, so that no LDAP-related artefacts are accidently
    incorporated into the non-LDAP build
  * debian/dhclient-script.*: conditionalise the chown/chmod of the new
    resolv.conf on the existence of the old one (closes: #595400)
  * debian/dhclient-script.linux: comply with RFC 3442 and ignore
    the routers option if the rfc3442-classless-static-routes option is present
    (closes: #592735)
  * debian/dhclient-script.kfreebsd: fix subnet mask handling (closes: #677985)

isc-dhcp (4.2.2.dfsg.1-5) unstable; urgency=medium

  [ Andrew Pollock ]
  * debian/dhclient.conf: send the hostname (closes: #151820)

  [ Michael Gilbert ]
  * Fix cve-2011-4868: error in DDNS handling with IPv6 (closes: #655746)
  * Fix cve-2011-4539: error in regular expression handling
    (closes: #652259)
  * Make dependencies diff-able
  * Add myself to uploaders
  * Remove all automatically generated files in clean rule
  * Medium urgency for security updates

isc-dhcp (4.2.2.dfsg.1-4) unstable; urgency=low

  * The "Zoe woke up at 4am and I couldn't get back to sleep so I had some
    extra time to work on this" release
  * patch the Makefile for the embedded BIND libraries so that autoconf is run
    so that the modification to configure.in to fix the FTBFS on kFreeBSD
    actually does something useful (closes: #643569)

isc-dhcp (4.2.2.dfsg.1-3) unstable; urgency=low

  * debian/control: remove transitional packages
  * debian/rules: apply the intent of Pierre Chifflier's patch to enable
    hardening options (closes: #644413)
  * debian/control: also add inetutils-ping to the dependencies for
    isc-dhcp-client on hurd (...

Read more...

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

Duplicates of this bug

Other bug subscribers

Remote bug watches

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