← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1817368] [NEW] udev needs to be triggered if rules are written to a new file

 

Public bug reported:

On a VM with many interfaces it is possible that udev is slow. This may
lead to the situation that 70-persistent-net.rules is being written to
by cloud-init while also being written to by the net rules generator (75
-persistent-net-generator.rules). This may lead to interleaving,
duplicate definitions or incomplete data.

The user can already specify an optional rules file with the
"netrules_path". However this will not have any effect when the file
gets written as udev is not re-triggered. When the user configures a
custom file (which logically should be something like 71-persistent-
net.rules) cloud-init should trigger udev to add any new rules the code
might have written.

** Affects: cloud-init
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to cloud-init.
https://bugs.launchpad.net/bugs/1817368

Title:
  udev needs to be triggered if rules are written to a new file

Status in cloud-init:
  New

Bug description:
  On a VM with many interfaces it is possible that udev is slow. This
  may lead to the situation that 70-persistent-net.rules is being
  written to by cloud-init while also being written to by the net rules
  generator (75-persistent-net-generator.rules). This may lead to
  interleaving, duplicate definitions or incomplete data.

  The user can already specify an optional rules file with the
  "netrules_path". However this will not have any effect when the file
  gets written as udev is not re-triggered. When the user configures a
  custom file (which logically should be something like 71-persistent-
  net.rules) cloud-init should trigger udev to add any new rules the
  code might have written.

To manage notifications about this bug go to:
https://bugs.launchpad.net/cloud-init/+bug/1817368/+subscriptions


Follow ups