Hi Lukas,

On 11/08/2021 16:06, Lukas Tribus wrote:
> Hey folks,
> 
> 
> in an environment with 2 openvpn instances (one TCP and one UDP),
> previous unattended-upgrades of the openvpn package in Ubuntu 18.04
> caused outages, because the UDP based instance was unable to add
> routes to the kernel:
> 
> 
> /sbin/ip route add 192.168.20.0/24 via 10.20.30.2
> ERROR: Linux route add command failed: external program exited with
> error status: 2
> /sbin/ip route add 10.20.30.0/24 via 10.20.30.2
> ERROR: Linux route add command failed: external program exited with
> error status: 2
> 

Can you share the whole log, please?
That'd help us understand the context of the failure.

> 
> iproute2 return code 2 indicates a kernel error.
> 
> 
> 
> The openvpn instances downgrade privileges to nogroup/nobody, so the
> removal of the routes also fail, but when removing the tun interface,
> the routes will vanish anyway.

Yeah, this is know, but I think it's unrelated to the problem above.

Regards,

-- 
Antonio Quartulli


_______________________________________________
Openvpn-users mailing list
Openvpn-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/openvpn-users

Reply via email to