← Back to team overview

touch-packages team mailing list archive

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

 

** Description changed:

  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".
+ Additionally, one feature i'd like to have (admittedly for debug
+ purposes) is the ability to write the /run/initramfs/open-
+ iscsi.interface file 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/
+   http://bazaar.launchpad.net/~smoser/maas/maas-pkg-test/files/head:/ephemtest-vivid/initrd-updates/
+ 
+ generically, it seems like it'd be nice to have a way to have the same
+ functionality that open-iscsi.interface accomplishes but not tied to
+ open-iscsi.  Ie, the user may for any reason want to keep a network from
+ getting re-configured by normal OS bringup.   I used '/run/network
+ /initramfs-persistent-iface' file to do that.
  
  that is explicitly to patch over an existing initramfs  (no 'hooks'
  directory).

-- 
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/initramfs/open-
  iscsi.interface file 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/

  generically, it seems like it'd be nice to have a way to have the same
  functionality that open-iscsi.interface accomplishes but not tied to
  open-iscsi.  Ie, the user may for any reason want to keep a network
  from getting re-configured by normal OS bringup.   I used
  '/run/network/initramfs-persistent-iface' file to do that.

  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


References