Bug 704747 - openvpn does not ask for username and password
Summary: openvpn does not ask for username and password
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Fedora
Classification: Fedora
Component: openvpn
Version: 15
Hardware: x86_64
OS: Linux
unspecified
unspecified
Target Milestone: ---
Assignee: Steven Pritchard
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
: 711903 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-05-14 15:02 UTC by Magnus Tuominen
Modified: 2012-08-07 18:38 UTC (History)
10 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-08-07 18:38:54 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Magnus Tuominen 2011-05-14 15:02:17 UTC
Description of problem:
service openvpn start does no longer ask for username or password when started as it used to do in fedora 14.

Version-Release number of selected component (if applicable):
whatever id currently in fedora 15, will update precise version number later tonight.

How reproducible:
always

Steps to Reproduce:
1. place credentials in /etc/openvpn (liteca.crt, openvpn.conf)
2.service openvpn start
3.get "OK" as answer
  
Actual results:
openvpn asks for username and password and either responds "OK" on successful username and password, or "FAIL" if username and password is wrong.

Expected results:
openvpn should ask for username and password and connect to the vpn.

Additional info:
This is working on fedora 14, same procedure.

Comment 1 Magnus Tuominen 2011-05-15 06:21:28 UTC
Version-Release openvpn-2.1.4-1.fc15.x86_64

Comment 2 Magnus Tuominen 2011-05-15 10:19:14 UTC
Might be related to the following bug on opensuse 11.4
https://bugzilla.novell.com/show_bug.cgi?id=675406

Comment 3 Magnus Tuominen 2011-05-18 08:23:32 UTC
Specifiying Version and platform.

Comment 4 Gerald Pfeifer 2011-06-18 03:28:02 UTC
(In reply to comment #2)
> Might be related to the following bug on opensuse 11.4
> https://bugzilla.novell.com/show_bug.cgi?id=675406

Yes, that pretty clearly looks like the same.  systemd and OpenVPN do
not get along.

Comment 5 Adam Williamson 2011-06-18 18:01:52 UTC
*** Bug 711903 has been marked as a duplicate of this bug. ***

Comment 6 Michal Schmidt 2011-06-20 09:51:39 UTC
https://bugzilla.redhat.com/show_bug.cgi?id=711903#c1 :
> 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 7 Ralf Oltmanns 2011-06-29 16:49:25 UTC
As I am absolutely dependent on the use of openvpn for my daily work this bug renders fc15 useless for the time being.
A quick solution to this problem would be very much appreciated.

Comment 8 Adam Williamson 2011-06-29 17:05:22 UTC
Ralf: just call openvpn directly instead of using the service.

Comment 9 Ralf Oltmanns 2011-06-30 10:04:47 UTC
My boss worked out this workaround which works fine:

Start openvpn using the following line and you will be asked for the passphrase of the private key, after that the service will start:

    sudo /bin/bash -c "cd /etc/init.d; _use_systemctl=0 ./openvpn start"

Hope this helps.

Comment 10 Bill McGonigle 2011-09-03 04:00:48 UTC
SUSE just put out this fix:

https://build.opensuse.org/request/show/80110

Comment 12 Bill McGonigle 2012-01-11 20:04:16 UTC
oops - sorry I forgot to note here that I was corresponding with the Suse team about sending it upstream.  Thanks, Frederic!

Comment 13 Fedora End Of Life 2012-08-07 18:38:56 UTC
This message is a notice that Fedora 15 is now at end of life. Fedora
has stopped maintaining and issuing updates for Fedora 15. It is
Fedora's policy to close all bug reports from releases that are no
longer maintained. At this time, all open bugs with a Fedora 'version'
of '15' have been closed as WONTFIX.

(Please note: Our normal process is to give advanced warning of this
occurring, but we forgot to do that. A thousand apologies.)

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, feel free to reopen
this bug and simply change the 'version' to a later Fedora version.

Bug Reporter: Thank you for reporting this issue and we are sorry that
we were unable to fix it before Fedora 15 reached end of life. If you
would still like to see this bug fixed and are able to reproduce it
against a later version of Fedora, you are encouraged to click on
"Clone This Bug" (top right of this page) and open it against that
version of Fedora.

Although we aim to fix as many bugs as possible during every release's
lifetime, sometimes those efforts are overtaken by events. Often a
more recent Fedora release includes newer upstream software that fixes
bugs or makes them obsolete.

The process we are following is described here:
http://fedoraproject.org/wiki/BugZappers/HouseKeeping


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