router_linux: starts off by assuming route table 52 is empty #3309
Labels
bug
Bug
L3 Some users
Likelihood
OS-linux
P3 Can't get started
Priority level
T5 Usability
Issue type
What is the issue?
If tailscale aborts abnormally, it will leave routes in table 52 (
ip route list table 52
). On the next run, it will assume that table is empty, and then try to re-add all the same routes.Example logs:
I guess we should do one of two things:
The latter seems like a more direct and foolproof way to accomplish the goal.
I didn't investigate far enough to see if this actually caused a problem for the customer who reported it. I suspect the errors are just silently ignored after printing, but I didn't read the code carefully enough to be sure. Either way, all the errors in the log are disconcerting and make diagnosing other problems harder. Also, leaving old obsolete routes in the table between runs could lead to surprising problems later.
cc: @danderson @maisem
Steps to reproduce
No response
Are there any recent changes that introduced the issue?
No response
OS
Linux
OS version
No response
Tailscale version
1.16.2
Bug report
BUG-49b7cb276faa4102c241c14f001cecf50b20402bcb502990ad1b265d935ec982-20211110164123Z-073cb916921f8acb
Front conversations
The text was updated successfully, but these errors were encountered: