-
Notifications
You must be signed in to change notification settings - Fork 273
Description
When starting or stopping the network service, OpenRC prints the following error:
Error: ipv4: FIB table does not exist.
Flush terminated
This error is caused by ip route flush table 100, but routing table 100 is not defined.
A clean system only contains the local table:
ip route show table all
→ Only local routes are shown, no table 100.
Because the table does not exist, the flush operation fails and produces an error.
Functionally this is cosmetic, but it creates noise in the logs.
Expected behavior:
Check whether the routing table exists before flushing, or
Silently ignore errors when the table does not exist.
Suggested fix:
ip -4 route show table 100 >/dev/null 2>&1 && ip -4 route flush table 100
or
ip -4 route flush table 100 2>/dev/null || true
This issue happens on fresh systems without any custom routing tables.