NetworkManager/man
Thomas Haller 718fd22436 dns: follow resolv.conf if it is a symlink for 'rc-manager=file'
Until before 1.2.0, NetworkManager would always write resolv.conf as file, but
if /etc/resolv.conf was a symlink, it would follow the link instead of
replacing it with a file ([1], [2]).

With 1.2.0, we initially dropped that behavior and added a new 'rc-manager=none'
which writes resolv.conf to /var/run/NetworkManager and symlinks resolv.conf [3].
In case resolv.conf being already a symlink to another target, it would
not be replaced [4].
Later, we added 'rc-manager=file', which always writes /etc/resolv.conf as
file [5].

With 1.4.0, we will rename 'rc-manager=none' to 'rc-manager=symlink' [6].

This commit now fixes 'rc-manager=file' to restores the pre-1.2 behavior
and follow symlinks.

[1] 5761e328b8
[2] https://bugs.launchpad.net/ubuntu/+source/network-manager/+bug/324233
[3] 4805be2ed2
[4] 583568e12f
[5] 288799713d
[6] cd6a469668

https://github.com/NetworkManager/NetworkManager/pull/7
2016-06-03 11:50:02 +02:00
..
common.ent.in dns: add configure option "--with-config-dns-rc-manager-default" for default of main.rc-manager 2016-05-23 21:49:42 +02:00
Makefile.am man: don't template NetworkManager.conf.xml 2016-04-08 13:10:47 +02:00
NetworkManager.conf.xml dns: follow resolv.conf if it is a symlink for 'rc-manager=file' 2016-06-03 11:50:02 +02:00
NetworkManager.xml config,dns: support Reload flags to specify that only parts should be reloaded 2016-06-01 19:06:34 +02:00
nm-online.xml man: clarify the license of the manuals 2016-04-08 13:10:47 +02:00
nm-settings-ifcfg-rh.xsl man: move nmcli-examples to section 7 2016-04-05 14:37:51 +02:00
nm-settings-keyfile.xsl man: move nmcli-examples to section 7 2016-04-05 14:37:51 +02:00
nm-settings.xsl man: move nmcli-examples to section 7 2016-04-05 14:37:51 +02:00
nmcli-examples.xml auth: fix get_permissions() D-Bus call for settings-modify-global-dns 2016-06-01 22:04:37 +02:00
nmcli.xml cli: remove version check against NM 2016-04-28 09:35:20 +02:00
nmtui.1.in man: update version number and dates in manual pages 2016-03-09 10:11:27 +01:00
nmtui.xml man: clarify the license of the manuals 2016-04-08 13:10:47 +02:00