Public bug reported: When I create a new connection using nmcli the entry is missing in Network settings but exists in the popup. Also the name used to create the connection is not displayed. (see screenshots attached)
The commands used to create the connection are basically: VPN_NAME="Sample VPN" VPN_REMOTE="somewhere.inter.net" VPN_USERNAME="somebody" VPN_CA="/home/$TARGET_USER/.config/ca-sample.crt" nmcli con add type vpn ifname -- con-name "\"$VPN_NAME\"" vpn-type openvpn nmcli con mod "\"$VPN_NAME\"" connection.autoconnect yes nmcli con mod "\"$VPN_NAME\"" connection.permissions "user:$TARGET_USER" nmcli con mod "\"$VPN_NAME\"" vpn.data "port = 1195, proto-tcp = yes, ca = $VPN_CA, password-flags = 1, connection-type = password, remote = $VPN_REMOTE, username = $VPN_USERNAME" nmcli con mod "\"$VPN_NAME\"" +ipv4.routes "192.168.50.0/24 0.0.0.0" nmcli con mod "\"$VPN_NAME\"" +ipv4.routes "192.168.51.0/24 0.0.0.0" nmcli con mod "\"$VPN_NAME\"" ipv4.never-default yes ProblemType: Bug DistroRelease: Ubuntu 17.10 Package: network-manager-openvpn-gnome 1.2.10-0ubuntu2 ProcVersionSignature: Ubuntu 4.13.0-12.13-generic 4.13.3 Uname: Linux 4.13.0-12-generic x86_64 ApportVersion: 2.20.7-0ubuntu2 Architecture: amd64 CurrentDesktop: ubuntu:GNOME Date: Wed Oct 4 19:40:41 2017 InstallationDate: Installed on 2017-10-03 (1 days ago) InstallationMedia: Ubuntu 17.10 "Artful Aardvark" - Alpha amd64 (20170926) SourcePackage: network-manager-openvpn UpgradeStatus: No upgrade log present (probably fresh install) ** Affects: network-manager-openvpn (Ubuntu) Importance: Undecided Status: New ** Tags: amd64 apport-bug artful wayland-session ** Attachment added: "Screenshot from 2017-10-04 19-43-35.png" https://bugs.launchpad.net/bugs/1721430/+attachment/4962434/+files/Screenshot%20from%202017-10-04%2019-43-35.png -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1721430 Title: connection missing in gui when created using nmcli To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/network-manager-openvpn/+bug/1721430/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs