Project

General

Profile

Actions

Bug #13602

closed

OpenVPN fails to start again if it crashes with DCO enabled

Added by Marcos M about 2 years ago. Updated almost 2 years ago.

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

0%

Estimated time:
Release Notes:
Force Exclusion
Affected Plus Version:
22.05
Affected Architecture:
All

Description

If OpenVPN crashes with DCO enabled, it doesn't remove the interface which prevents it from starting again. The interface must be manually destroyed first with e.g. ifconfig ovpnc1 destroy.

Oct 27 16:58:13     openvpn     28323     Failed to create interface ovpns1 (SIOCSIFNAME): File exists (errno=17)
Oct 27 16:58:13     openvpn     28323     DCO device ovpns1 already exists, won't be destroyed at shutdown
Oct 27 16:58:13     openvpn     28323     /sbin/ifconfig ovpns1 172.25.1.1/24 mtu 1500 up
Oct 27 16:58:13     openvpn     28323     FreeBSD ifconfig failed: external program exited with error status: 1
Oct 27 16:58:13     openvpn     28323     Exiting due to fatal error 
Actions

Also available in: Atom PDF