You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Router garbage collection never reclaims VRFs #1036
Since #996, galactic-router garbage collection fails on every cycle and reclaims no orphaned VRF or BGPVRFInstance.
Before it collects, GC lists the edge attachment links on the host. It opens that listing through a netlink handle bound to the router's own network namespace, and creating that handle enters the namespace, which needs CAP_SYS_ADMIN. The router runs with NET_ADMIN and BPF only, so the listing fails and GC stops before deleting anything.
The real-kernel tests run as full root, so they never saw the missing capability.
Acceptance criteria
galactic-router with its deployed capabilities lists edge attachment links and completes a GC cycle
An orphaned VRF and its BGPVRFInstance are reclaimed again on a node with no edge attachments
A test fails if listing the host's links needs a capability the router does not have
Activity