Page MenuHomeVyOS Platform

Known issues with vyatta_net_name/vyatta_interface_rescan
Needs testing, LowPublic

Description

This is to note two known issues with vyatta_net_name/vyatta_interface_rescan that are temporarily carried over in the rewrite (T3869) to Python.

  • The udev rules consider only addition of interfaces, consequently, there is no capability for removing interfaces from the config file. This has always allowed the possibility of a non-fatal configuration error on boot: removing, say, eth1 and rebooting with parameter 'vyos-config-debug' (for the error message) shows
vyos.configsession.ConfigSessionError: [[interfaces ethernet eth1]] failed

Again, this has been the case since introduction of vyatta_net_name/vyatta_interface_rescan.

  • biosdevname (from vyatta-biosdevname), used by vyatta_net_name (and carried over; to be dropped), throws an error, and likely has for quite a while; the error was hidden in vyatta_net_name by redirection of stderr to /dev/null.

Details

Difficulty level
Unknown (require assessment)
Version
vyos-1.4
Why the issue appeared?
Will be filled on close
Is it a breaking change?
Unspecified (possibly destroys the router)
Issue type
Bug (incorrect behavior)