Red Hat Bugzilla – Bug 714710
Provide native systemd unit file
Last modified: 2011-09-30 15:43:03 EDT
Description of problem:
Version-Release number of selected component (if applicable):
Steps to Reproduce:
What's the current status of this?
Openvpn is part of the default live cd not having native systemd unit file for it will end up blocking the alpha release.
Note there is some discussion happening upstream so Dan you might want to chime into that..
Uhum that link is meant for bug 661230
Created attachment 515315 [details]
Native systemd service template for openvpn
Created attachment 515320 [details]
Conf file to statically load the tun module at boot
Should be placed in /etc/modules-load.d see man modules-load.d for details
To test this copy the template file into /lib/systemd/system
first create the server config file in /etc/openvpn/ directory for this example let's use hypothetical already created server1.conf and server2.conf ( as an example to run more then one instance of openvpn )
Then do for instance one
# ln -s /lib/systemd/system/openvpn\@.service /email@example.com
for instance two
# ln -s /lib/systemd/system/openvpn\@.service /firstname.lastname@example.org
systemctl start/status/restart/stop email@example.com
systemctl start/status/restart/stop firstname.lastname@example.org
To test this on a already running instance then ust replace server1 with whatever your config file is called ( - .conf ) in /etc/openvpn/ directory
Note this needs to be package and shipped preferable before thursday
Created attachment 515369 [details]
tmpfile for openvpn
Introducing tmpfile for openvpn dropping loading of tun altogether since it's autoloaded just fine
Created attachment 515371 [details]
Spec file patch for openvpn
*** Bug 714438 has been marked as a duplicate of this bug. ***
openvpn-2.2.1-2.fc16 has been submitted as an update for Fedora 16.
* should fix your issue,
* was pushed to the Fedora 16 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing openvpn-2.2.1-2.fc16'
as soon as you are able to.
Please go to the following url:
then log in and leave karma (feedback).
openvpn-2.2.1-2.fc16 has been pushed to the Fedora 16 stable repository. If problems still persist, please make note of it in this bug report.