Age | Commit message (Collapse) | Author |
|
Bug 6818
The regex to extract wireless name was incorrect.
Recode for clarity rather than adding more complex regex.
|
|
It appears that biosdevname can be confused if interface renaming is
being performed by other udev worker processes at the same time that
it is running. Since vyatta_net_name does protect the body of its
code with a lock, we can be sure that no other renaming will be
started in other udev worker processes while this one is running in
vyatta_net_name. But renaming being performed by other udev worker
processes that were triggered by previous executions of
vyatta_net_name may still be in progress. This change gives any
interface renaming that was called for by previous invocations of
vyatta_net_name a chance to complete before we call biosdevname.
(cherry picked from commit 9dd41e8481e84bf80fcb0e9c3d7843c8a0b20059)
|
|
Bug 6718
On livecd config.boot does not exist yet, so no existing
hw-id mappings.
(cherry picked from commit 37bbcaef6083a843cb3dd9976854a30ab7cebe16)
|
|
Put more messages in to help debug current problem and future ones
(cherry picked from commit 8cc21571cb4efde31f3cf6b58ad8e3d80d4487cf)
|
|
Log to file /dev/udev/net-name.log since that is available tmpfs
(cherry picked from commit 15ce02d66348ed35308f5813991e171d74561248)
|
|
This reverts commit b1af934db367d589cf7c78b84e2181a1e72b2aaf.
Loggging to /var/log does not work during boot. The root filesystem
is read-only when udev is running this script.
(cherry picked from commit 47301dbc029652f97847c9288d58c951db56d916)
|
|
This restores logging that we had in the previous release, which has
proven useful in troubleshooting interface renaming problems.
|
|
In the new version of biosdevname (version 0.3.4), the default policy
generates interface names of the form "em1". That's not the naming
convention that we use. The "all_ethN" policy does use the traditional
ethernet naming convention.
(cherry picked from commit f05a91c02e27bb19717ddf8e1ffc07ed7b1bbbc5)
|
|
Bug 6445
Biosdevname program converts everything to eth devices.
|
|
Use existing config parser and perl to handle udev device naming.
Do renaming early in udev boot, and fixup config file later.
This avoids rescanning udev devices on boot and adds preliminary
support for hotplug.
|
|
Network interfaces are discovered at boot time in non-deterministic
order, so their names are non-deterministic. The vyatta_net_name
script is responsible for ensuring that network interface names are
changed to match their Vyatta config file entry when a match based on
MAC address is found. With this change, when a match is not found, we
use the biosdevname tool to to find the canonical name for an
interface, then change the interface's name to that name. This
ensures that NICs are named in a deterministic and systemmatic fashion.
|
|
|
|
|
|
Handle case where udev state file doesn't exist.
|
|
Several different cases were being handled incorrectly.
|
|
Replace references to VPL 1.0 with GPLv2
|
|
|
|
|
|
udev appears to be threaded where sub-scripts may be context switch;
so, defer config file interface updates to rl-system.init
|
|
This reverts commit b45bba4286e83f8babcd70eef908f2ea2f8fff3c.
|
|
silently write test BOOTFILE before trying too add/mod itf
|
|
|
|
|
|
|
|
|
|
|