Project

General

Profile

Actions

Bug #15044

closed

Route "Invalid argument" error during boot

Added by Marcos M 5 months ago. Updated 5 months ago.

Status:
Resolved
Priority:
Normal
Category:
Routing
Target version:
Start date:
Due date:
% Done:

0%

Estimated time:
Plus Target Version:
23.09.1
Release Notes:
Default
Affected Version:
Affected Architecture:
All

Description

When booting 24.03, the following route error is shown on the console at different points - e.g.:

Setting up extended sysctls...done.
Executing early shell commands...Configuring WireGuard tunnels...wg0: changing name to 'tun_wg0'
tun_wg0: link state changed to UP
route: message indicates error: Invalid argument
route: message indicates error: Invalid argument
route: message indicates error: Invalid argument
route: message indicates error: Invalid argument
route: message indicates error: Invalid argument
route: message indicates error: Invalid argument
route: message indicates error: Invalid argument
route: message indicates error: Invalid argument
route: message indicates error: Invalid argument
route: message indicates error: Invalid argument
route: message indicates error: Invalid argument
route: message indicates error: Invalid argument
route: message indicates error: Invalid argument
Setting timezone...done.

Adding some debugging output shows the commands being ran that trigger the error:

DEBUG#ln3123
cmd:: /sbin/route del -net -inet 172.19.0.0/20   10.0.5.75
err:: add net 172.19.0.0: gateway 10.0.5.75 fib 0: Invalid argument''
DEBUG#ln3123
cmd:: /sbin/route del -net -inet 192.168.0.0/20   10.0.5.75
err:: add net 192.168.0.0: gateway 10.0.5.75 fib 0: Invalid argument''
DEBUG#ln3044
cmd:: /sbin/route del -host -inet 1.1.1.1 192.168.100.1
err:: del host 1.1.1.1: gateway 192.168.100.1 fib 0: not in table''
DEBUG#ln3044
cmd:: /sbin/route del -host -inet 1.0.0.1 192.168.100.1
err:: del host 1.0.0.1: gateway 192.168.100.1 fib 0: not in table''

Actions #1

Updated by Christian McDonald 5 months ago

  • Status changed from New to In Progress
Actions #3

Updated by Christian McDonald 5 months ago

  • Status changed from Feedback to Resolved

Marking as resolved as the reproducer no longer fails:

ifconfig tun0 create
ifconfig tun0 up
route add 192.0.2.1 -iface tun0
Actions

Also available in: Atom PDF