Bug 746472 - Openvpn service management broken
Summary: Openvpn service management broken
Keywords:
Status: CLOSED DUPLICATE of bug 752774
Alias: None
Product: Fedora
Classification: Fedora
Component: openvpn
Version: 16
Hardware: All
OS: Linux
unspecified
high
Target Milestone: ---
Assignee: Steven Pritchard
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-10-16 11:38 UTC by Pavel Alexeev
Modified: 2012-12-23 01:39 UTC (History)
9 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-01-02 10:41:55 UTC
Type: ---


Attachments (Terms of Use)

Description Pavel Alexeev 2011-10-16 11:38:55 UTC
Description of problem:
# systemctl status openvpn.service
openvpn.service
          Loaded: error (Reason: No such file or directory)
          Active: inactive (dead)

# service openvpn restart
Redirecting to /bin/systemctl  restart openvpn.service
Failed to issue method call: Unit openvpn.service failed to load: No such file or directory. See system logs and 'systemctl status openvpn.service' for details.

# rpm -ql openvpn | grep -i service
/lib/systemd/system/openvpn@.service

# systemctl status openvpn@.service
Failed to issue method call: Unit name openvpn@.service is not valid.

Version-Release number of selected component (if applicable):
# rpm -q openvpn
openvpn-2.2.1-2.fc16.x86_64

How reproducible:
Always

Comment 1 Jan Kratochvil 2011-11-02 16:23:36 UTC
It works by: 
# systemctl start openvpn

But it is difficult to guess it.

Comment 2 Pavel Alexeev 2011-11-02 17:02:22 UTC
Hm... Very interesting. In what man it mentioned??? How users should guess it? How restart all hosts?

Comment 3 Jan Kratochvil 2011-11-02 17:07:24 UTC
I found it in the Bug 744244.

Comment 4 David Kovalsky 2011-12-10 20:12:32 UTC
It does start that way, but how do I enable it as a service?

[root@veselo openvpn]# systemctl start  openvpn
[root@veselo openvpn]# echo $?
0
[root@veselo openvpn]# systemctl enable  openvpn
Failed to issue method call: No such file or directory

Comment 5 Steven Ellis 2012-01-02 10:41:55 UTC
For this there is no support in systemctl. Manually creating the symlinks in
the right directories will work though.

*** This bug has been marked as a duplicate of bug 752774 ***


Note You need to log in before you can comment on or make changes to this bug.