Bug 991393 - Can't delete connections
Summary: Can't delete connections
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: NetworkManager
Version: 20
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Dan Williams
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-08-02 10:43 UTC by Radek Novacek
Modified: 2016-12-01 00:31 UTC (History)
3 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2013-10-10 13:58:16 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
journalctl -u NetworkManager --since <before `nmcli con delete` called> (21.56 KB, text/x-log)
2013-08-02 10:43 UTC, Radek Novacek
no flags Details

Description Radek Novacek 2013-08-02 10:43:13 UTC
Created attachment 781924 [details]
journalctl -u NetworkManager --since <before `nmcli con delete` called>

NetworkManager's connection won't get deleted until restart of NetworkManager.

See following commands:


[root@localhost ~]# nmcli con add type ethernet ifname ens9 con-name Test
[root@localhost ~]# nmcli con
NAME                UUID                                  TYPE            TIMESTAMP-REAL                   
eth0                69d233e3-08fb-4450-ac96-6c537cc5d343  802-3-ethernet  Thu 01 Aug 2013 02:48:45 PM CEST 
Wired connection 2  d8da3338-3ba6-48ea-944f-0aa51a803382  802-3-ethernet  never                            
DHCP                f07a6368-43c9-4976-bbe9-7168f7b23070  802-3-ethernet  Fri 02 Aug 2013 12:31:15 PM CEST 
Test                024e8980-8b3c-4a7a-aa16-6e5463fb7d2e  802-3-ethernet  never                            

# Connection created, good

[root@localhost ~]# nmcli con delete id Test # Delete the connection
[root@localhost ~]# nmcli con
NAME                UUID                                  TYPE            TIMESTAMP-REAL                   
eth0                69d233e3-08fb-4450-ac96-6c537cc5d343  802-3-ethernet  Thu 01 Aug 2013 02:48:45 PM CEST 
Wired connection 2  d8da3338-3ba6-48ea-944f-0aa51a803382  802-3-ethernet  never                            
DHCP                f07a6368-43c9-4976-bbe9-7168f7b23070  802-3-ethernet  Fri 02 Aug 2013 12:31:15 PM CEST 
Test                024e8980-8b3c-4a7a-aa16-6e5463fb7d2e  802-3-ethernet  Fri 02 Aug 2013 12:32:20 PM CEST 

# Still there


[root@localhost ~]# systemctl restart NetworkManager # restart NM
[root@localhost ~]# nmcli con
NAME                UUID                                  TYPE            TIMESTAMP-REAL                   
eth0                69d233e3-08fb-4450-ac96-6c537cc5d343  802-3-ethernet  Thu 01 Aug 2013 02:48:45 PM CEST 
Wired connection 2  d8da3338-3ba6-48ea-944f-0aa51a803382  802-3-ethernet  never                            
DHCP                f07a6368-43c9-4976-bbe9-7168f7b23070  802-3-ethernet  Fri 02 Aug 2013 12:32:35 PM CEST 
# Now its gone


Deleting by specifying UUID doesn't work either. Deleting through D-Bus also doesn't work.

journalctl output attached.

Affected version: NetworkManager-0.9.9.0-8.git20130724.fc20.x86_64

Comment 1 Fedora End Of Life 2013-09-16 14:59:30 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 20 development cycle.
Changing version to '20'.

More information and reason for this action is here:
https://fedoraproject.org/wiki/BugZappers/HouseKeeping/Fedora20

Comment 3 Radek Novacek 2013-10-10 13:58:16 UTC
Yes, it is fixed in NetworkManager-0.9.9.0-14.git20131003.fc21.x86_64. Thank you.


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