Bug 1238733
Summary: | OpenVPN (client) auth-user-pass works when in config file, but not on command line | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Tarquin <tarquin.qualcox> |
Component: | openvpn | Assignee: | Gwyn Ciesla <gwync> |
Status: | CLOSED EOL | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | low | Docs Contact: | |
Priority: | unspecified | ||
Version: | 21 | CC: | davids, gwync, huzaifas, steve |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | armv7hl | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2015-12-02 14:10:26 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Tarquin
2015-07-02 13:41:47 UTC
This isn't really the proper place to report this kind of bug, as this bugzilla primarily focuses on Fedora packaging issues in the package. Please consider to report this issue in the upstream bug tracker: https://community.openvpn.net/openvpn/report (You need to log in to report new issues) Having that said, as a workaround can you try to add your "auth-user-pass" settings in a separate config file and read the file using an additional --config on the command line? The --config option can be used as a kind of include statement, so adding more --config options on the command line should work. openvpn --config thirdparty.conf --config authpass.conf Thanks for the info about bugzilla; I'll report this upstream. And thanks for the tip about a second config file: adding a second file worked a treat. I'm really glad this daemon accepts multiple config files - many don't. In case it's of assistance to anyone else later, I've actually now split my config into 3 config files: 1. Common options (options such as mss-fix, keepalive, etc) - file is applied to multiple different connections. 2. Third-Party Vendor-shipped opvn config file (PIA as provider in this case, but I've looked into other vendors and they are largely identical for config) 3. Connection-specific options to go hand-in-hand with vendor - sets variables such as log file location, PID file location, etc Weirdly, the auth-user-pass option needs to go into config file 2 or 3 - putting in file 1 didn't work for me. Other settings from file 1 applied just fine, just not aks-user-pass. (In case you're wondering why I need a per-connection setting file #3, it's because I'm concurrently running multiple daemons with differing log files and PIDs. As an aside, this is obviously an uncommon case requiring some rather interesting source-route policy-based routing. Anyway, it works really nicely now. :) This message is a reminder that Fedora 21 is nearing its end of life. Approximately 4 (four) weeks from now Fedora will stop maintaining and issuing updates for Fedora 21. It is Fedora's policy to close all bug reports from releases that are no longer maintained. At that time this bug will be closed as EOL if it remains open with a Fedora 'version' of '21'. Package Maintainer: If you wish for this bug to remain open because you plan to fix it in a currently maintained version, simply change the 'version' to a later Fedora version. Thank you for reporting this issue and we are sorry that we were not able to fix it before Fedora 21 is 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 change the 'version' to a later Fedora version prior this bug is closed as described in the policy above. 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. Fedora 21 changed to end-of-life (EOL) status on 2015-12-01. Fedora 21 is no longer maintained, which means that it will not receive any further security or bug fix updates. As a result we are closing this bug. If you can reproduce this bug against a currently maintained version of Fedora please feel free to reopen this bug against that version. If you are unable to reopen this bug, please file a new report against the current release. If you experience problems, please add a comment to this bug. Thank you for reporting this bug and we are sorry it could not be fixed. |