diff options
author | RageLtMan <rageltman [at] sempervictus> | 2023-01-31 13:13:55 -0500 |
---|---|---|
committer | RageLtMan <rageltman [at] sempervictus> | 2023-01-31 13:13:55 -0500 |
commit | f24c7ca09fbefe082bb37d84d47c1c8684042a1c (patch) | |
tree | 81de6ffe867fa72506dd19a197b2c5f14ca2662a /packages | |
parent | 09ec7740dca79e159b9e319c6ffbe61e880eb177 (diff) | |
download | vyos-build-f24c7ca09fbefe082bb37d84d47c1c8684042a1c.tar.gz vyos-build-f24c7ca09fbefe082bb37d84d47c1c8684042a1c.zip |
T4966: Delay UDEV execution, avoid rename deadlock
UDEV will rename interfaces from whatever the kernel called them
to eX before converting them to ethX during init. In current VyOS,
the second renaming operation can run into a lock on the adapter
preventing altering its name. As a result, the adapter will remain
in the eX configuration, preventing proper execution of subsequent
scripts and configuration stanzas.
The initial renaming step has to remain as it is needed to work
around other issues, which leaves the somewhat hacky approach of
delaying the second renaming step slightly in an effort to let the
device lock holders settle, releasing it for rename to ethX. This
is accomplished by a kernel commandline paramter (3s), which can be
tweaked to reduce impact or wait longer as needed on different
devices - udev.exec_delay=3
Diffstat (limited to 'packages')
0 files changed, 0 insertions, 0 deletions