Red Hat Bugzilla – Bug 1423490
[dns] change behavior for rc-manager=symlink to keep /etc/resolv.conf as regular file instead of symlink
Last modified: 2017-08-01 05:24:38 EDT
+++ This bug was initially created as a clone of Bug #1367551 +++ For bug 1367551, we changed behavior for rc-manager=symlink setting upstream: https://cgit.freedesktop.org/NetworkManager/NetworkManager/commit/?id=15177a34be297654086005f2d796e6a4c6a1b918 This change will also go to rhel-7.4. This bug is only as a marker to fill a proper changelog, and possibly add some testing for it. The change is suitable for rhel-7.4 because: - the default on rhel7 is rc-manager=file. So, this likely does not affect many users. - the new behavior makes much more sense, the difference comes into play when - if somebody has rc-manager=symlink - /etc/resolv.conf is a regular file or missing Previously, NM would have replaced /etc/resolv.conf with a symlink to /var/run/NetworkManager/resolv.conf. Now, instead NM will write resolv.conf as a regular file. A user who intentionally chooses rc-manager=symlink likely already replaced /etc/resolv.conf with a symlink (which is the main use of this mode).
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://access.redhat.com/errata/RHSA-2017:2299