reopen 376589
thanks

I'm reopening this bug because manually running
   /lib/udev/write_net_rules all_interfaces
creates z25_persistent-net.rules

Marco d'Itri wrote:

> You can easily run the rules generator from the prompt to debug it,
> look at postinst.
OK, I started playing with /lib/udev/write_net_rules all_interfaces and
always got a z25_persistent-net.rules.

So I checked for differences between the previous and current version
and the only significant change seems to be

  * persistent-net-generator.rules: do not create rules for interfaces
    without a driver link (like ISA cards) because they will never match.
    (Closes: #368845)

# ignore interfaces without a driver link
DRIVER!="?*", GOTO="persistent_net_generator_end"

If I comment out this line, z25_persistent-net.rules is generated on
boot (if it was missing), so the test seems to be too limiting.


> Unless you can point me to an actual bug, then the explanation of
> this behaviour is that your network card(s) do not support generation of
> persistent rules, older versions of udev lacked some checks which were
> added later.

Are the following network cards too old?
# PCI device 14e4:4401 (b44) (onboard)
# PCI device 10ec:8139 (8139too) (PCI card)

I attach a copy of /sys/class/net/eth* as described in #368845.
Kernel 2.6.16-2-k7 (2.6.16-15), there are no 'driver' symlinks.


Andreas

Attachment: net.tar.gz
Description: GNU Zip compressed data

Reply via email to