Wind River Support Network


LIN5-19607 : Persistent Network Rule Generator Broken

Created: Oct 29, 2014    Updated: Dec 19, 2017
Resolved Date: Dec 10, 2014
Found In Version: 5.0.1
Fix Version:
Severity: Standard
Applicable for: Wind River Linux 5
Component/s: Userspace


The persistent net rule generator in udev is broken in Wind River Linux 5.

The /usr/lib64/udev/rules.d/75-persistent-net-generator.rules system rule calls write_net_rules for when it receives a udev event from the kernel for a valid network device.

However, the write_net_rules script contains a reference to /lib/udev/rule_generator.functions:

[wruser@yow-srt-vm2 udev-164]$ pwd
[wruser@yow-srt-vm2 udev-164]$ grep -R rule_generator.functions extras/rule_generator/*
extras/rule_generator/write_cd_rules:. /lib/udev/rule_generator.functions
extras/rule_generator/write_net_rules:. /lib/udev/rule_generator.functions

On the target this actually gets installed at /usr/lib64/udev/rule_generator.functions.

I suggest that either write_cd_rules and write_net_rules be patched to the new location OR rule_generator.functions get moved to the standard location.

If successful then /etc/udev/rules.d/70-persistent-net.rules will be created with entries for your network interfaces.

NOTE: Certain network interfaces are blacklisted based on the interface name and/or the MAC address (including KVM virtual interfaces).  See /usr/lib64/udev/rules.d/75-persistent-net-generator.rules for details

Other Downloads

Live chat