[Bug 1868329] Re: ifupdown does not render viable /etc/network/interfaces on bionic ec2 cloud-images
Chad Smith
1868329 at bugs.launchpad.net
Sat Mar 21 21:25:57 UTC 2020
** Also affects: ifupdown (Ubuntu Bionic)
Importance: Undecided
Status: New
** Also affects: ifupdown (Ubuntu Focal)
Importance: Undecided
Status: New
** Also affects: ifupdown (Ubuntu Eoan)
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to ifupdown in Ubuntu.
https://bugs.launchpad.net/bugs/1868329
Title:
ifupdown does not render viable /etc/network/interfaces on bionic ec2
cloud-images
Status in ifupdown package in Ubuntu:
New
Status in ifupdown source package in Bionic:
New
Status in ifupdown source package in Eoan:
New
Status in ifupdown source package in Focal:
New
Bug description:
Filing this bug for clarification and tracking on Ubuntu Bionic and
later.
Canonical cloudimages for Ec2 and other clouds leave an artifact that
disables /etc/network/interface with the following content:
# ifupdown has been replaced by netplan(5) on this system. See
# /etc/netplan for current configuration.
# To re-enable ifupdown on this system, you can run:
# sudo apt install ifupdown
In following the suggested text, installing the ifupdown deb continues
to leave a broken system because ifupdown.postinst script creates an
/etc/network/interfaces.d parts directory but does not write out a
working /etc/network/interfaces file if the file exists on the system.
This leaves a broken /etc/network/interfaces files which doesn't
source /etc/network/interfaces.d/* and 3rd parties cannot use the
interfaces.d parts directory to extend networking config.
Cloud-init is one of those users of /etc/network/interfaces.d/ for
rendering system networking on cloud images. Per LP: #1867029
I have attached ifupdwown-test.sh which exercises this issue on lxc by
mocking the CPC cloudimage artifact.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ifupdown/+bug/1868329/+subscriptions
More information about the foundations-bugs
mailing list