[Bug 1463846] [NEW] if ip is specified on cmdline, networking should be brought up in initramfs

Scott Moser smoser at ubuntu.com
Wed Jun 10 13:55:01 UTC 2015


Public bug reported:

if the initramfs has 'ip=' on the cmdline, it is arguable that we should
bring the respective interface up as indicated.

Currently, initramfs only does this if something thinks it should.

Ie, open-iscsi might do it, or some other things might call 'configure_networking'.
But it seems reasonable that if the user put 'ip=' on the cmdline then they wanted that to happen in initramfs.


Additionally, one feature i'd like to have (admittedly for debug purposes) is the ability to write the /run/network/initramfs-persistent-iface that is used at least by open-iscsi to say "do not bring this interface down".


I've done this before, the code to do it is available in intramfs-tools style module at
  http://bazaar.launchpad.net/~smoser/maas/maas-pkg-test/files/head:/ephemtest-vivid/initrd-updates/

that is explicitly to patch over an existing initramfs  (no 'hooks'
directory).

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

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

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

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

Title:
  if ip is specified on cmdline, networking should be brought up in
  initramfs

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



More information about the Ubuntu-server-bugs mailing list