[Bug 1450762] [NEW] AUTOSTART value is ignored in startup script

Launchpad Bug Tracker 1450762 at bugs.launchpad.net
Fri May 1 13:40:29 UTC 2015


You have been subscribed to a public bug by Robie Basak (racb):

Ubuntu 15.04

I have two clients configured in /etc/openvpn

/etc/openvpn/client1.conf
/etc/openvpn/client2.conf

AUTOSTART="all"
in file:
/etc/default/openvpn

service openvpn start
or
/etc/init.d/openvpn start

fails with:

May  1 11:42:17 systemd[1]: Stopped OpenVPN service.
May  1 11:42:17 systemd[1]: Stopping OpenVPN service...
May  1 11:45:39 systemd[1]: Starting OpenVPN connection to client...
May  1 11:45:39 systemd[1]: Starting OpenVPN service...
May  1 11:45:39 systemd[1]: Started OpenVPN service.
May  1 11:45:39 ovpn-client[26561]: Options error: In [CMD-LINE]:1: Error opening configuration file: /etc/openvpn/client.conf
May  1 11:45:39 ovpn-client[26561]: Use --help for more information.
May  1 11:45:39 systemd[1]: openvpn at client.service: control process exited, code=exited status=1
May  1 11:45:39 systemd[1]: Failed to start OpenVPN connection to client.
May  1 11:45:39 systemd[1]: Unit openvpn at client.service entered failed state.
May  1 11:45:39 systemd[1]: openvpn at client.service failed.

In previous versions of ubuntu (LTS) this was working.

something got broken with  /lib/lsb/init-functions

** Affects: openvpn (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: openvpn systemd systemd-boot
-- 
AUTOSTART value is ignored in startup script
https://bugs.launchpad.net/bugs/1450762
You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to the bug report.



More information about the Ubuntu-server-bugs mailing list