[Bug 1880740] [NEW] Provide a straightforward way to reset networking after initramfs

Johan Ehnberg 1880740 at bugs.launchpad.net
Tue May 26 17:38:01 UTC 2020


Public bug reported:

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

** Affects: initramfs-tools (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to initramfs-tools in Ubuntu.
https://bugs.launchpad.net/bugs/1880740

Title:
  Provide a straightforward way to reset networking after initramfs

Status in initramfs-tools package in Ubuntu:
  New

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

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/initramfs-tools/+bug/1880740/+subscriptions



More information about the foundations-bugs mailing list