Provide a straightforward way to reset networking after initramfs

Bug #1880740 reported by Johan Ehnberg
18
This bug affects 4 people
Affects Status Importance Assigned to Milestone
initramfs-tools (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

Since initramfs networking is rather limited, a simple flag to reset networking afterwards (or not to generate netplan files) would be valuable. The intended effect is to allow fully featured networking tools to set up the network afterwards.

Use cases include the following, in comination with networking-enabled initramfs:
* Multiple IPs on a single interface
* Adding search domains
* Unlocking root over SSH on a different network than will be used afterwards
* Using DHCP for initramfs and static later

There are numerous workarounds floating around, as well as questions on this behaviour. Netplan has made this even more difficult to get around, since it does not provide an equivalent to 'service networking restart'. As of Ubuntu 20.04, I have not even found any workaround that actually works.

Related:
dropbear-initramfs IFDOWN not working LP #1813394
Alternative approach with netplan in initramfs LP #1880717
What is creating /run/netplan/eth0.yaml? askubuntu #1228433

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in initramfs-tools (Ubuntu):
status: New → Confirmed
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.