Mailinglist Archive: opensuse-bugs (5295 mails)

< Previous Next >
[Bug 848070] No rcopenvpn

Michal Hrusecky <mhrusecky@xxxxxxxx> changed:

What |Removed |Added
InfoProvider|mhrusecky@xxxxxxxx |

--- Comment #2 from Michal Hrusecky <mhrusecky@xxxxxxxx> 2013-11-06 08:29:26
UTC ---
(In reply to comment #1)
(In reply to comment #0)
openvpn package is missing rcopenvpn script to handle start/stop.

In 12.3 I was able to use openvpn by running:

rcopenvpn start
rcopenvpn stop

rcopenvpn wrapper is not present anymore in 13.1

This is not a bug. There is no init script any more, openvpn is started
directly from a native template service file.

rc scripts are not tied to init scripts. We even have a nice wrapper for simple
services (see rcSuSEfirewall2 or rcnscd). But I can imagine that for backward
compatibility openVPN one can be little more specific - like making sure that
when I run rcopenvpn start, all my configured VPNs comes to live like in 12.3.

Apart from that calling

systemctl start

does not start my VPNs and I have to start them manually one by one.

What does a "ls -l /etc/systemd/system/" say?

You have to enable the autostart of the instance(s) first:

systemctl enable [--force] openvpn@foo.service
systemctl enable [--force] openvpn@bar.service

this causes to create openvpn@foo.service and openvpn@bar.service
links in /etc/systemd/system/ pointing to the
/usr/lib/systemd/system/openvpn@.service template file.

Does it solve the issue?

Ok, it did, so misconfiguration (or too many expectations?) on my part.

Configure bugmail:
------- You are receiving this mail because: -------
You are on the CC list for the bug.

< Previous Next >