Bug 1275437 - crash when using nmcli --ask created libreswan profile
crash when using nmcli --ask created libreswan profile
Status: CLOSED NOTABUG
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: NetworkManager (Show other bugs)
7.3
Unspecified Unspecified
urgent Severity urgent
: rc
: ---
Assigned To: Jirka Klimes
Desktop QE
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2015-10-26 18:21 EDT by Vladimir Benes
Modified: 2015-12-03 08:45 EST (History)
7 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2015-12-03 08:45:29 EST
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Vladimir Benes 2015-10-26 18:21:27 EDT
Description of problem:
I've tried to create libreswan connection via nmcli --ask but I have seen a crash when connecting. 

[root@qe-dell-ovs5-vm-23 NetworkManager]# nmcli --ask connection add 
Valid types: [generic, 802-3-ethernet (ethernet), pppoe, 802-11-wireless (wifi), wimax, gsm, cdma, infiniband, adsl, bluetooth, vpn, 802-11-olpc-mesh (olpc-mesh), vlan, bond, team, bridge, bond-slave, team-slave, bridge-slave]
Connection type: vpn
Interface name [*]: 
VPN type: libreswan
There is 1 optional argument for 'VPN' connection type.
Do you want to provide it? (yes/no) [yes] yes
Username [none]: budulinek
Do you want to add IP addresses? (yes/no) [yes] no
Connection 'vpn' (8ab1a1bb-0cbb-4e5f-bc3a-c9107f2a6922) successfully added.
[root@qe-dell-ovs5-vm-23 NetworkManager]# nmcli connection up id vpn
Error: Connection activation failed: Active connection removed before it was initialized
[root@qe-dell-ovs5-vm-23 NetworkManager]# nmcli connection up id vpn
[ 3361.332516] traps: NetworkManager[22377] trap int3 ip:7fd29c92d8c3 sp:7ffc1ad7a6b0 error:0
Error: Connection activation failed: Active connection removed before it was initialized
[root@qe-dell-ovs5-vm-23 NetworkManager]# nmcli connection up id vpn
[ 3364.712922] traps: NetworkManager[25754] trap int3 ip:7fa7e72768c3 sp:7ffc8673c520 error:0
Error: Connection activation failed: Active connection removed before it was initialized


Version-Release number of selected component (if applicable):
NetworkManager-1.0.6-26.1.el7.x86_64
libreswan-3.12-10.1.el7_1.x86_64



[root@qe-dell-ovs5-vm-23 NetworkManager]# nmcli connection show vpn
connection.id:                          vpn
connection.uuid:                        8ab1a1bb-0cbb-4e5f-bc3a-c9107f2a6922
connection.interface-name:              --
connection.type:                        vpn
connection.autoconnect:                 yes
connection.autoconnect-priority:        0
connection.timestamp:                   0
connection.read-only:                   no
connection.permissions:                 
connection.zone:                        --
connection.master:                      --
connection.slave-type:                  --
connection.autoconnect-slaves:          -1 (default)
connection.secondaries:                 
connection.gateway-ping-timeout:        0
connection.metered:                     unknown
ipv4.method:                            auto
ipv4.dns:                               
ipv4.dns-search:                        
ipv4.addresses:                         
ipv4.gateway:                           --
ipv4.routes:                            
ipv4.route-metric:                      -1
ipv4.ignore-auto-routes:                no
ipv4.ignore-auto-dns:                   no
ipv4.dhcp-client-id:                    --
ipv4.dhcp-send-hostname:                yes
ipv4.dhcp-hostname:                     --
ipv4.never-default:                     no
ipv4.may-fail:                          yes
ipv6.method:                            auto
ipv6.dns:                               
ipv6.dns-search:                        
ipv6.addresses:                         
ipv6.gateway:                           --
ipv6.routes:                            
ipv6.route-metric:                      -1
ipv6.ignore-auto-routes:                no
ipv6.ignore-auto-dns:                   no
ipv6.never-default:                     no
ipv6.may-fail:                          yes
ipv6.ip6-privacy:                       -1 (unknown)
ipv6.dhcp-send-hostname:                yes
ipv6.dhcp-hostname:                     --
vpn.service-type:                       org.freedesktop.NetworkManager.libreswan
vpn.user-name:                          budulinek
vpn.data:                               
vpn.secrets:                            <hidden>
vpn.persistent:                         no


I know that the connection is useless unless it has some vpn.data so the question is whether this option shouldn't be removed from nmcli --ask.
Comment 3 Vladimir Benes 2015-12-03 08:45:29 EST
will reopen if it occurs again

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