Openvpn under Fedora-16

Dr. Michael J. Chudobiak mjc at avtechpulse.com
Fri Jan 6 13:55:49 UTC 2012


On 01/05/2012 07:10 PM, Timothy Murphy wrote:
> I can start openvpn with
> [tim at blanche ~]$ sudo systemctl start openvpn at client.service
> (My openvpn config file is /etc/openvpn/client.conf ,
> which I think is more or less standard.)
>
> But I don't know how to turn it on permanently, eg I get
> [tim at blanche ~]$ sudo systemctl enable openvpn at client.service
> Failed to issue method call: No such file or directory
>
> The whole thing seems to me extraordinarily badly documented,
> even by Linux standards.
> Or is it a bug?

It is an oddity that isn't handled well by systemd (yet?).

For permanent autostart, you need to create a link manually, like this:

ln -s /lib/systemd/system/openvpn\@.service \
    /etc/systemd/system/openvpn\@client.service

Read about it here:

https://bugzilla.redhat.com/show_bug.cgi?id=744244
http://forums.fedoraforum.org/showthread.php?p=1538624

- Mike


More information about the users mailing list