Bug#765577: udev-udeb: Write dupliate entries into 70-persistent-net.rules

Petter Reinholdtsen pere at hungry.com
Tue Oct 21 10:07:51 BST 2014


[Petter Reinholdtsen]
> Could this be related to the fetching and installation of firmware in
> d-i?  It normally cause kernel modules to be reloaded.

I did some more testing, and when PXE booting the netboot d-i images,
the 70-persistent-net.rules file got the duplicate entries very early.
Only the localechooser, console-setup-udeb, ethdetect and netcfg menu
items have been selected.  The first is added before localechooser
show its menu when I do not run the installation on "automatic".  But
installing interactively do not cause the duplicate entries, and I am
unable to insert instrumentation without doing things
interactively. :(

Perhaps it only happen on fairly quick machines?  I experience it on a
Thinkpad X200 and X300, but not on a 10 year old Latitude D505. :(

It would be nice if /lib/udev/write_net_rules could be changed to log
a message to syslog when 70-persistent-net.rules is updated, to be
able to figure out when it happen.  I in the places I suspect are
related to this issue, add similar instrumentation in the hw-detect
code.

-- 
Happy hacking
Petter Reinholdtsen




More information about the Pkg-systemd-maintainers mailing list