NetworkManager/src/dns
Thomas Haller cddb91324c dns: always write "/var/run/NetworkManager/resolv.conf"
Previously, if "main.rc-manager" was set to "unmanaged"
and "/etc/resolv.conf" was symlink to our internal file
"/var/run/NetworkManager/resolv.conf", NM would not rewrite
the file, in an attempt to honor the requirement of NetworkManager
not changing resolv.conf.

No longer special case this. I think it was wrong and inconsistent.
If the user specifies rc-manager unmanaged, he also should manage
/etc/resolv.conf accordingly. And if the user decided to symlink
it to our internal file, that is fine. It should not stop NM from
updating that file.

Also, this was the only cases, where NM would not write our internal
resolv.conf (errors aside). It was inconsitent, and also not documented
behavior. Instead, it is documented that `man NetworkManager.conf`:

  Regardless of this setting, NetworkManager will always write
  resolv.conf to its runtime state directory
  /var/run/NetworkManager/resolv.conf.
2018-09-21 11:12:47 +02:00
..
nm-dns-dnsmasq.c dns: don't let the plugins assert the bus manager has a connection 2018-09-18 17:40:47 +02:00
nm-dns-dnsmasq.h build: rename "src/dns-manager" to "src/dns" 2016-11-21 14:07:47 +01:00
nm-dns-manager.c dns: always write "/var/run/NetworkManager/resolv.conf" 2018-09-21 11:12:47 +02:00
nm-dns-manager.h dns: use dns-priority to provide a preprocessed domain list to plugins 2018-05-14 15:22:50 +02:00
nm-dns-plugin.c all: don't use gchar/gshort/gint/glong but C types 2018-07-11 12:02:06 +02:00
nm-dns-plugin.h all: don't use gchar/gshort/gint/glong but C types 2018-07-11 12:02:06 +02:00
nm-dns-systemd-resolved.c dns: don't let the plugins assert the bus manager has a connection 2018-09-18 17:40:47 +02:00
nm-dns-systemd-resolved.h build: rename "src/dns-manager" to "src/dns" 2016-11-21 14:07:47 +01:00
nm-dns-unbound.c build: rename DNSSEC_TRIGGER_SCRIPT to DNSSEC_TRIGGER_PATH 2018-09-13 14:35:32 +02:00
nm-dns-unbound.h build: rename "src/dns-manager" to "src/dns" 2016-11-21 14:07:47 +01:00