Bug ID 930819
Summary OpenVPN systemd scripts fail on startup
Classification openSUSE
Product openSUSE Distribution
Version 13.2
Hardware x86-64
OS openSUSE 13.2
Status NEW
Severity Normal
Priority P5 - None
Component Other
Assignee bnc-team-screening@forge.provo.novell.com
Reporter suse@aastral.net
QA Contact qa-bugs@suse.de
Found By ---
Blocker ---

openvpn@.service script attempts to start openvpn@multi-user and fails.

Error Message:
Options error: In [CMD-LINE]:1: Error opening configuration file:
multi-user.conf


It might be better to have the script read an /etc/sysconfig/openvpn file to
determine which instances to start, because using %i doesn't work.

systemd script:
-----
[Unit]
Description=OpenVPN tunneling daemon instance using /etc/openvpn/%I.conf
After=network.target
PartOf=openvpn.target

[Service]
Type=forking
PrivateTmp=true
PIDFile=/var/run/openvpn/%i.pid
ExecStart=/usr/sbin/openvpn --daemon --suppress-timestamps --writepid
/var/run/openvpn/%i.pid --cd /etc/openvpn/ --config %i.conf
ExecReload=/sbin/killproc -p /var/run/openvpn/%i.pid -HUP /usr/sbin/openvpn

[Install]
WantedBy=multi-user.target openvpn.target
-----


You are receiving this mail because: