Bug 711903 - OpenVPN cannot do interactive login when started as a service via systemd
Summary: OpenVPN cannot do interactive login when started as a service via systemd
Keywords:
Status: CLOSED DUPLICATE of bug 704747
Alias: None
Product: Fedora
Classification: Fedora
Component: openvpn
Version: 15
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Steven Pritchard
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-06-08 22:30 UTC by Adam Williamson
Modified: 2011-06-18 18:01 UTC (History)
10 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-06-18 18:01:52 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Adam Williamson 2011-06-08 22:30:00 UTC
systemd doesn't seem to handle OpenVPN's optionally-interactive service properly. If you're using a VPN like Red Hat's, you need to enter the password manually when starting the service, as it has a component which changes every time. The OpenVPN service is written to handle this, and prompt you for a username and password, but this doesn't seem to work with systemd: it just fires off the service non-interactively and it fails because the password is incorrect.

If I run openvpn --config /etc/openvpn/redhat.conf --daemon , it works okay.

Comment 1 Michal Schmidt 2011-06-08 23:08:50 UTC
OpenVPN should be enhanced to work with systemd password agents.

See bug 707917 where a similar problem is solved for httpd configured to ask for SSL key passwords.

Comment 2 Gerald Pfeifer 2011-06-18 03:31:33 UTC
This is a duplicate of https://bugzilla.redhat.com/show_bug.cgi?id=704747 .

Comment 3 Adam Williamson 2011-06-18 18:01:52 UTC

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


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