Bug 1284261

Summary: Default-route doesn't get removed when disconnecting device externally (on lost carrier, unplug cable)
Product: Red Hat Enterprise Linux 7 Reporter: Thomas Haller <thaller>
Component: NetworkManagerAssignee: Thomas Haller <thaller>
Status: CLOSED ERRATA QA Contact: Desktop QE <desktop-qa-list>
Severity: medium Docs Contact:
Priority: medium    
Version: 7.2CC: bgalvani, lrintel, rkhan, thaller, vbenes
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Fixed In Version: NetworkManager-1.2.0-1.el7 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-11-03 19:20:34 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---
Bug Depends On:    
Bug Blocks: 1301628, 1313485    

Description Thomas Haller 2015-11-22 13:40:51 UTC
There is upstream BZ https://bugzilla.gnome.org/show_bug.cgi?id=757587, which was fixed upstream by:

master: http://cgit.freedesktop.org/NetworkManager/NetworkManager/commit/?id=c2831875e3a2cf046f8a3b42a971172319c50e99

nm-1-0: http://cgit.freedesktop.org/NetworkManager/NetworkManager/commit/?id=0178baea2c396b9a7a57fe11dc79c93882dffaf7

This can be easily reproduced:

  - have ignore-carrier not enabled.
  - activate a connection with default-route.
  - unplug the cable

Note that the device properly disconnects, but the default-route lingers around.

Comment 2 Thomas Haller 2016-01-10 17:06:33 UTC
will be (obviously) fixed for rhel-7.3 as we rebase.

Comment 3 Mike McCune 2016-03-28 23:39:55 UTC
This bug was accidentally moved from POST to MODIFIED via an error in automation, please see mmccune@redhat.com with any questions

Comment 4 Thomas Haller 2016-05-15 18:42:43 UTC
upstream patches are part of nm-1-2 and rhel-7.3 beta.

Comment 7 errata-xmlrpc 2016-11-03 19:20:34 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.