Page MenuHomeVyOS Platform

Udev rules try to rename active interfaces in some environments
Open, Requires assessmentPublicBUG

Description

In some situations, rules from https://github.com/vyos/vyos-1x/blob/96656b1a7bb7166c923a45d1333d7e7c7add5514/src/etc/udev/rules.d/65-vyatta-net.rules#L19 try to rename interfaces that are already in UP state what breaks those interfaces and can make others inoperable too.

Such behavior was observed when:

  1. Ethernet interface was already brought up by initrd (VyOS booted via PXE).
  2. biosdevname (https://github.com/vyos/vyatta-cfg-system/blob/57ea7825b1f8ebe62ee120276fbc3c069db6340c/scripts/vyatta_net_name#L82) returned name not equal to what kernel assigned during boot.

It is necessary to exclude such interfaces from renaming. This can destroy an expected order of interfaces, but all of them will be kept operable.

Details

Difficulty level
Normal (likely a few hours)
Version
1.4-rolling-202102121338
Why the issue appeared?
Will be filled on close
Is it a breaking change?
Behavior change