dhclient does not work with busybox ip

Bug #1819747 reported by Thadeu Lima de Souza Cascardo
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
busybox (Ubuntu)
Fix Released
Undecided
Unassigned
Disco
Fix Released
Undecided
Unassigned
cloud-initramfs-tools (Ubuntu)
Invalid
Undecided
Unassigned
Disco
Invalid
Undecided
Unassigned
initramfs-tools (Ubuntu)
Invalid
Undecided
Unassigned
Disco
Invalid
Undecided
Unassigned
isc-dhcp (Ubuntu)
Fix Released
Undecided
Unassigned
Disco
Fix Released
Undecided
Unassigned

Bug Description

After isc-dhcp update from 4.3.5 to 4.4.1, dhclient-script uses valid_lft option when adding an IPv4 address.

When used on the initrd generated by initramfs-tools, this will fail because busybox ip does not support this option.

This affects the use of cloud-initramfs-dyn-netconf and ip= command line option, which breaks initramfs-tools testing.

Steve Langasek (vorlon)
Changed in initramfs-tools (Ubuntu Disco):
status: New → Invalid
Changed in isc-dhcp (Ubuntu Disco):
status: New → Invalid
Changed in cloud-initramfs-tools (Ubuntu Disco):
status: New → Invalid
Changed in busybox (Ubuntu Disco):
status: New → Fix Committed
Revision history for this message
Michael Hudson-Doyle (mwhudson) wrote :

There is also a problem in dhclient where it forks off the daemon and exits before writing the pidfile which needs a separate fix.

Changed in initramfs-tools (Ubuntu Disco):
status: Invalid → Triaged
status: Triaged → Invalid
Changed in isc-dhcp (Ubuntu Disco):
status: Invalid → Triaged
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package isc-dhcp - 4.4.1-2ubuntu4

---------------
isc-dhcp (4.4.1-2ubuntu4) disco; urgency=medium

  * Write pidfile before informing parent of success. (LP: #1819747)

 -- Michael Hudson-Doyle <email address hidden> Wed, 13 Mar 2019 14:26:56 +1300

Changed in isc-dhcp (Ubuntu Disco):
status: Triaged → Fix Released
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package busybox - 1:1.27.2-2ubuntu6

---------------
busybox (1:1.27.2-2ubuntu6) disco; urgency=medium

  * debian/patches/handle-ip-valid_lft.patch: Don't choke on ip addr add
    [...] valid_lft [...] preferred_lft. Closes LP: #1819747.

 -- Steve Langasek <email address hidden> Tue, 12 Mar 2019 15:52:41 -0700

Changed in busybox (Ubuntu Disco):
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.