Page MenuHomeVyOS Platform

Some error messages print literal {placeholders} because of a missing f-string prefix
Open, Requires assessmentPublic

Description

Several error messages are written as f-strings but lack the f prefix, so the user sees the placeholder instead of the value:

  • src/op_mode/conntrack_sync.py: Failed to clear {direction} cache
  • src/op_mode/restart_frr.py: Failed to restart daemon: {daemon}
  • src/conf_mode/service_broadcast-relay.py: At least two interfaces are required for UDP broadcast relay "{instance}"
  • src/conf_mode/vpn_ipsec.py: ... start address for pool "{pool}"!
  • src/conf_mode/interfaces_openvpn.py: ... required on openvpn interface {interface} in site-to-site mode (also contains ~18 spaces from a backslash continuation)

Details

Version
rolling
Is it a breaking change?
Unspecified (possibly destroys the router)
Issue type
Bug (incorrect behavior)