[Bug 1636530] [NEW] initramfs config script mixes IPv4 and IPv6 data in the net-$iface.conf file
Mathieu Trudel-Lapierre
mathieu.tl at gmail.com
Tue Oct 25 14:37:40 UTC 2016
Public bug reported:
[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.
** Affects: isc-dhcp (Ubuntu)
Importance: High
Assignee: Mathieu Trudel-Lapierre (cyphermox)
Status: In Progress
** Affects: isc-dhcp (Ubuntu Xenial)
Importance: High
Assignee: Mathieu Trudel-Lapierre (cyphermox)
Status: Triaged
** Affects: isc-dhcp (Ubuntu Yakkety)
Importance: High
Assignee: Mathieu Trudel-Lapierre (cyphermox)
Status: Triaged
** Affects: isc-dhcp (Ubuntu Zesty)
Importance: High
Assignee: Mathieu Trudel-Lapierre (cyphermox)
Status: In Progress
** Also affects: isc-dhcp (Ubuntu Zesty)
Importance: Undecided
Status: New
** Also affects: isc-dhcp (Ubuntu Xenial)
Importance: Undecided
Status: New
** Also affects: isc-dhcp (Ubuntu Yakkety)
Importance: Undecided
Status: New
** Changed in: isc-dhcp (Ubuntu Zesty)
Status: New => In Progress
** Changed in: isc-dhcp (Ubuntu Zesty)
Importance: Undecided => High
** Changed in: isc-dhcp (Ubuntu Yakkety)
Importance: Undecided => High
** Changed in: isc-dhcp (Ubuntu Xenial)
Importance: Undecided => High
** Changed in: isc-dhcp (Ubuntu Xenial)
Status: New => Triaged
** Changed in: isc-dhcp (Ubuntu Yakkety)
Status: New => Triaged
** Changed in: isc-dhcp (Ubuntu Xenial)
Assignee: (unassigned) => Mathieu Trudel-Lapierre (cyphermox)
** Changed in: isc-dhcp (Ubuntu Yakkety)
Assignee: (unassigned) => Mathieu Trudel-Lapierre (cyphermox)
** Changed in: isc-dhcp (Ubuntu Zesty)
Assignee: (unassigned) => Mathieu Trudel-Lapierre (cyphermox)
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to isc-dhcp in Ubuntu.
https://bugs.launchpad.net/bugs/1636530
Title:
initramfs config script mixes IPv4 and IPv6 data in the
net-$iface.conf file
Status in isc-dhcp package in Ubuntu:
In Progress
Status in isc-dhcp source package in Xenial:
Triaged
Status in isc-dhcp source package in Yakkety:
Triaged
Status in isc-dhcp source package in Zesty:
In Progress
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.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/isc-dhcp/+bug/1636530/+subscriptions
More information about the foundations-bugs
mailing list