Ask Your Question

Revision history [back]

openvpn will not start via systemd after upgrade to f25

I've been running openvpn happily on 23 and 24. Finally get to 25 and my previously working systemd start fails with openvpn@vpn-home.service: Start operation timed out. Terminating.

I can start openvpn manually as root with

/usr/sbin/openvpn --daemon --writepid /var/run/openvpn-server/vpn-home.pid --cd /etc/openvpn/ --config vpn-home.conf

so there's something about the systemd setup.

[root@paddy ~]# more /lib/systemd/system/openvpn@vpn-home.service 
[Unit]
Description=OpenVPN Robust And Highly Flexible Tunneling Application On %I
After=network.target

[Service]
PrivateTmp=true
Type=forking
PIDFile=/var/run/openvpn/%i.pid
ExecStart=/usr/sbin/openvpn --daemon --writepid /var/run/openvpn-server/%i.pid --cd /etc/openvpn/ --config %i.conf

[Install]
WantedBy=multi-user.target
[root@paddy ~]#

I'm not using network manager to do my networking (using /etc/sysconfig/network-scripts), could that be interfering in some way?