[oe-issues] [Bug 2869] New: udev does not bring up network interfaces on insertion
bugzilla-daemon at tinman.treke.net
bugzilla-daemon at tinman.treke.net
Sat Aug 25 02:13:46 UTC 2007
http://bugs.openembedded.org/show_bug.cgi?id=2869
Summary: udev does not bring up network interfaces on insertion
Product: Openembedded
Version: Angstrom
Platform: Other
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P2
Component: Distributions
AssignedTo: openembedded-issues at lists.openembedded.org
ReportedBy: clement.hermann at free.fr
Hi,
I noticed that udev does not bring up network interfaces on hotplug, despite
the following line in /etc/udev/rules.d/local.rules :
SUBSYSTEM=="net", ACTION=="add" RUN+="/etc/udev/scripts/network.sh"
The problem lies in /etc/udev/scripts/network.sh : it uses ifup, ifconfig and
such without full PATH, and udev does not have /sbin in its PATH.
trivial fix : add the following lines after the shebang :
# we need /sbin in our PATH
PATH="/sbin:$PATH"
Cheers,
--
Clément Hermann (nodens)
--
Configure bugmail: http://bugs.openembedded.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the Openembedded-issues
mailing list