Page MenuHomeVyOS Platform

ifconfig: Suppress unnecessary syslog noise from missing nftables rules
Closed, ResolvedPublicBUG

Description

When tearing down interfaces without VRF bindings, nftables may attempt to remove non-existent rules. This results in repetitive error messages in syslog, e.g.:

Sep 13 10:27:59 python3[90301]: DEBUG/IFCONFIG returned (err):
Sep 13 10:27:59 Error[90301]: Could not process rule: No such file or directory
Sep 13 10:27:59 python3[90301]: delete element inet vrf_zones ct_iface_map { "eth1.1337" }
Sep 13 10:27:59 python3[90301]:

Such output is noise and provides no operational value. The rule removal logic has been adjusted to silently ignore errors when the interface or rule is already absent, ensuring nftables cleanup proceeds when needed while keeping syslogs clean and meaningful.

Details

Version
1.4.3
Is it a breaking change?
Perfectly compatible
Issue type
Cosmetic issue (typos etc.)

Event Timeline

c-po claimed this task.
c-po updated the task description. (Show Details)
c-po renamed this task from Clean logging from "delete element inet vrf_zones ct_iface_map { "eth1.1337" }" error to ifconfig: Suppress unnecessary syslog noise from missing nftables rules.Sep 13 2025, 9:15 AM
Unknown Object (User) triaged this task as Normal priority.Sep 16 2025, 11:22 AM
c-po moved this task from Open to Finished on the VyOS 1.5 Circinus (1.5-stream-2025-Q3) board.
c-po moved this task from Backlog to Finished on the VyOS 1.4 Sagitta (1.4.4) board.