← Back to team overview

touch-packages team mailing list archive

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

 

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
Touch seeded packages, which is subscribed to initramfs-tools in Ubuntu.
https://bugs.launchpad.net/bugs/1463846

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

Status in cloud-initramfs-tools package in Ubuntu:
  New
Status in initramfs-tools package in Ubuntu:
  New

Bug description:
  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).

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


Follow ups

References