Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.

Bug 1348901

Summary: vpn dns record is not deleted when profile goes down
Product: Red Hat Enterprise Linux 7 Reporter: Vladimir Benes <vbenes>
Component: NetworkManagerAssignee: Beniamino Galvani <bgalvani>
Status: CLOSED ERRATA QA Contact: Desktop QE <desktop-qa-list>
Severity: medium Docs Contact:
Priority: medium    
Version: 7.3CC: atragler, bgalvani, desktop-qa-list, lrintel, rkhan, thaller
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: 1348887 Environment:
Last Closed: 2016-11-03 19:23:09 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 1348887    
Bug Blocks:    

Description Vladimir Benes 2016-06-22 09:34:17 UTC
and whatmore if disconnecting, dns record doesn't go away.. not sure if these two issues are connected or not.



+++ This bug was initially created as a clone of Bug #1348887 +++

Description of problem:
when connected via ethernet with two dns record vpn's dns record is added into the middle but it should be added as the first one.


Version-Release number of selected component (if applicable):
NetworkManager-1.4.0-0.1.git20160606.b769b4df.el7.x86_64

How reproducible:
always

Steps to Reproduce:
1.connect to ethernet with two dns record
2.connect to libreswan vpn 

Actual results:
vpn's dns is in the middle 

Expected results:
should be first

Additional info:

Comment 1 Beniamino Galvani 2016-06-24 07:42:51 UTC
Fix in upstream branch bg/vpn-dns-rh1348901

Comment 2 Thomas Haller 2016-06-27 13:21:20 UTC
(In reply to Beniamino Galvani from comment #1)
> Fix in upstream branch bg/vpn-dns-rh1348901

lgtm.

I pushed a fixup there, but feel free to revert it. Doesn't matter too much...

Comment 3 Lubomir Rintel 2016-06-28 14:21:49 UTC
Looks alright

Comment 4 Beniamino Galvani 2016-06-28 14:55:51 UTC
(In reply to Thomas Haller from comment #2)
> I pushed a fixup there, but feel free to revert it. Doesn't matter too
> much...

Squashed and merged to master:

https://cgit.freedesktop.org/NetworkManager/NetworkManager/commit/?id=88637dee661a3eb7e2e44fcb92ff33a4eccc9604

nm-1-2:

https://cgit.freedesktop.org/NetworkManager/NetworkManager/commit/?h=nm-1-2&id=7ec5fa74e47e42af541967c2b5732d5bd447370d

Comment 7 errata-xmlrpc 2016-11-03 19:23:09 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.

https://rhn.redhat.com/errata/RHSA-2016-2581.html