Package: openvpn
Version: 2.3.2-8
Severity: normal

  Hi,

  I just upgraded openvpn as I now use systemd. I do not start automatically
openvpn connexion. Instead, I start it when I want (with
"sudo /etc/init.d/openvpn start xxxx" before using systemd).

  After the upgrade, I use
sudo systemctl start openvpn@xxxx
  However, I got:
[email protected] - OpenVPN connection to xxxx
   Loaded: loaded (/lib/systemd/system/[email protected]; disabled)
   Active: failed (Result: exit-code) since lun. 2014-03-17 14:12:04 CET; 1min 
27s ago
  Process: 7523 ExecStart=/usr/sbin/openvpn --daemon ovpn-%i --status 
/run/openvpn/%i.status 10 --cd /etc/openvpn --config /etc/openvpn/%i.conf 
(code=exited, status=1/FAILURE)

Looking at /var/log/syslog, I see:
Mar 17 14:12:04 eyak ovpn-xxxx[7523]: Options error: --status fails with 
'/run/openvpn/xxxx.status': No such file or directory
Mar 17 14:12:04 eyak ovpn-xxxx[7523]: Options error: Please correct these 
errors.
Mar 17 14:12:04 eyak ovpn-xxxx[7523]: Use --help for more information.


Manually running "sudo mkdir /run/openvpn/" fixes the problem (perhaps only
temporarly because /run is emptied at boot and I did not reboot yet).

  Regards,
   Vincent


-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to