Public bug reported:

currently the dyn-netconf script that re-writes IP= and BOOTHOOK= runs
at init-top.

per initramfs-tools(8) 
  | init-top  the scripts in this directory are the first scripts to
  | be executed after sysfs and procfs have been mounted.   It  also
  | runs  the udev hook for populating the /dev tree (udev will keep
  | running until init-bottom).

since we were not declaring a dependency on udev, udev might not even
be running at that point, so the 'udev_wait' that we do there will 
probably be useless.

The fix here I think is to just run at 'init-premount':
  | init-premount happens  after  modules  specified  by  hooks  and
  | /etc/initramfs-tools/modules have been loaded.

This seems like a sane place to run, and then we'll make sure that
the specific modules are loaded also (ie, 'load_modules' will have run).

** Affects: cloud-initramfs-tools (Ubuntu)
     Importance: Medium
         Status: In Progress

** Changed in: cloud-initramfs-tools (Ubuntu)
       Status: New => In Progress

** Changed in: cloud-initramfs-tools (Ubuntu)
   Importance: Undecided => Medium

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

Title:
  dyn-netconf IP re-writing runs too early (before load_modules)

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to