connection missing in gui when created using nmcli

Bug #1721430 reported by Scott Palmer
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
network-manager-openvpn (Ubuntu)
New
Undecided
Unassigned

Bug Description

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)

Revision history for this message
Scott Palmer (skewty) wrote :
Revision history for this message
Scott Palmer (skewty) wrote :
description: updated
tags: removed: wayland-session
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.