initramfs config script mixes IPv4 and IPv6 data in the net-$iface.conf file

Bug #1636530 reported by Mathieu Trudel-Lapierre
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
isc-dhcp (Ubuntu)
Fix Released
High
Mathieu Trudel-Lapierre
Xenial
Triaged
High
Mathieu Trudel-Lapierre
Yakkety
Triaged
High
Mathieu Trudel-Lapierre
Zesty
Fix Released
High
Mathieu Trudel-Lapierre

Bug Description

[Impact]
To support the previous behavior with ipconfig, dhclient now ships a config script for the initramfs which is meant to write out /run/net-(interface name).conf, which may be read by later initramfs scripts to configure a remote rootfs or other networked features. Data for both IPv4 and IPv6 are written out to the same file, which can lead to confusion and incorrect behavior.

[Test case]
1) Boot a system with an iscsi rootfs on a network where no DHCP server answers.

Current behavior:
dhclient -6 results may be written out to the /run/net-$iface.conf file which would cause the boot process to continue, thinking it's done.

Expected behavior:
boot should only continue once a network is found (through DHCP, BOOTP, etc.).

[Regression potential]
This changes is not expected to cause any kind of regression. Use of isc-dhcp has been reverted in initramfs-tools, and as such the affected code paths would not be run.

Changed in isc-dhcp (Ubuntu Zesty):
status: New → In Progress
importance: Undecided → High
Changed in isc-dhcp (Ubuntu Yakkety):
importance: Undecided → High
Changed in isc-dhcp (Ubuntu Xenial):
importance: Undecided → High
status: New → Triaged
Changed in isc-dhcp (Ubuntu Yakkety):
status: New → Triaged
Changed in isc-dhcp (Ubuntu Xenial):
assignee: nobody → Mathieu Trudel-Lapierre (cyphermox)
Changed in isc-dhcp (Ubuntu Yakkety):
assignee: nobody → Mathieu Trudel-Lapierre (cyphermox)
Changed in isc-dhcp (Ubuntu Zesty):
assignee: nobody → Mathieu Trudel-Lapierre (cyphermox)
Revision history for this message
Mathieu Trudel-Lapierre (cyphermox) wrote :
Changed in isc-dhcp (Ubuntu Zesty):
status: In Progress → 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.