Public bug reported:
A previously working OpenVPN configuration stopped connecting, with nm-
openvpn complaining about wrong options:
mar 07 22:35:45 michal-laptop NetworkManager[3172]: <info> [1520458545.8258]
audit: op="connection-activate" uuid="e3553582-0f39-404f-bd71-4dc6b92992de"
name="Router.Michal" pid=6735 uid=1000 result="success"
mar 07 22:35:45 michal-laptop NetworkManager[3172]: <info> [1520458545.8337]
vpn-connection[0x55e59e3be750,e3553582-0f39-404f-bd71-4dc6b92992de,"Router.Michal",0]:
Started the VPN service, PID 26187
mar 07 22:35:45 michal-laptop NetworkManager[3172]: <info> [1520458545.8421]
vpn-connection[0x55e59e3be750,e3553582-0f39-404f-bd71-4dc6b92992de,"Router.Michal",0]:
Saw the service appear; activating connection
mar 07 22:35:45 michal-laptop NetworkManager[3172]: <info> [1520458545.8611]
vpn-connection[0x55e59e3be750,e3553582-0f39-404f-bd71-4dc6b92992de,"Router.Michal",0]:
VPN plugin: state changed: starting (3)
mar 07 22:35:45 michal-laptop NetworkManager[3172]: <info> [1520458545.8615]
vpn-connection[0x55e59e3be750,e3553582-0f39-404f-bd71-4dc6b92992de,"Router.Michal",0]:
VPN connection: (ConnectInteractive) reply received
mar 07 22:35:45 michal-laptop nm-openvpn[26190]: Options error: If you use one
of --cert or --key, you must use them both
mar 07 22:35:45 michal-laptop nm-openvpn[26190]: Use --help for more
information.
mar 07 22:35:45 michal-laptop NetworkManager[3172]: <warn> [1520458545.8648]
vpn-connection[0x55e59e3be750,e3553582-0f39-404f-bd71-4dc6b92992de,"Router.Michal",0]:
VPN plugin: failed: connect-failed (1)
mar 07 22:35:45 michal-laptop NetworkManager[3172]: <warn> [1520458545.8651]
vpn-connection[0x55e59e3be750,e3553582-0f39-404f-bd71-4dc6b92992de,"Router.Michal",0]:
VPN plugin: failed: connect-failed (1)
mar 07 22:35:45 michal-laptop NetworkManager[3172]: <info> [1520458545.8658]
vpn-connection[0x55e59e3be750,e3553582-0f39-404f-bd71-4dc6b92992de,"Router.Michal",0]:
VPN plugin: state changed: stopping (5)
mar 07 22:35:45 michal-laptop NetworkManager[3172]: <info> [1520458545.8660]
vpn-connection[0x55e59e3be750,e3553582-0f39-404f-bd71-4dc6b92992de,"Router.Michal",0]:
VPN plugin: state changed: stopped (6)
mar 07 22:35:45 michal-laptop NetworkManager[3172]: <info> [1520458545.8680]
vpn-connection[0x55e59e3be750,e3553582-0f39-404f-bd71-4dc6b92992de,"Router.Michal",0]:
VPN service disappeared
The config, however, includes correct ca/cert/key stanzas:
ca=<redacted>ca.crt
cert=<redacted>michal.crt
key=<redacted>michal.key
The attached screenshot shows a related breakage in the GUI, after
making the correct certificate/key file selections, and saving the
config, the config file gets broken indeed:
ca=<redacted>ca.crt
cert=<redacted>ca.crt
# no key entry at all
ProblemType: Bug
DistroRelease: Ubuntu 18.04
Package: network-manager-openvpn 1.8.0-2
ProcVersionSignature: Ubuntu 4.15.0-10.11-generic 4.15.3
Uname: Linux 4.15.0-10-generic x86_64
NonfreeKernelModules: zfs zunicode zavl icp zcommon znvpair
ApportVersion: 2.20.8-0ubuntu10
Architecture: amd64
CurrentDesktop: ubuntu:GNOME
Date: Wed Mar 7 22:32:57 2018
SourcePackage: network-manager-openvpn
UpgradeStatus: Upgraded to bionic on 2018-02-07 (28 days ago)
** Affects: network-manager-openvpn (Ubuntu)
Importance: Undecided
Status: New
** Tags: amd64 apport-bug bionic
--
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to network-manager-openvpn in Ubuntu.
https://bugs.launchpad.net/bugs/1754172
Title:
NetworkManager breaks OpenVPN configuration on connection
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/network-manager-openvpn/+bug/1754172/+subscriptions
--
desktop-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs