GNOME Bugzilla – Bug 765387
[review] cleanup dns and rc-manager settings and add new rc-manager=unmanaged [th/dns-rc-manager-bgo765387]
Last modified: 2016-08-29 17:48:09 UTC
please review
> dns: rename "rc-manager=none" to "symlink" - * @NM_DNS_MANAGER_RESOLV_CONF_MAN_NONE: NM writes resolv.conf + * @NM_DNS_MANAGER_RESOLV_CONF_MAN_SYMLINK: NM writes resolv.conf * by symlinking it to the run state directory. * @NM_DNS_MANAGER_RESOLV_CONF_MAN_FILE: Like NONE, but instead of symlinking "Like SYMLINK". The rest looks good to me; I don't find the new "rc-manager=unmanaged" option particularly useful, but if you say that there are valid use cases for it, that's fine with me.
(In reply to Beniamino Galvani from comment #1) > > dns: rename "rc-manager=none" to "symlink" > > - * @NM_DNS_MANAGER_RESOLV_CONF_MAN_NONE: NM writes resolv.conf > + * @NM_DNS_MANAGER_RESOLV_CONF_MAN_SYMLINK: NM writes resolv.conf > * by symlinking it to the run state directory. > * @NM_DNS_MANAGER_RESOLV_CONF_MAN_FILE: Like NONE, but instead of > symlinking > > "Like SYMLINK". Fixed. > The rest looks good to me; I don't find the new "rc-manager=unmanaged" > option particularly useful, but if you say that there are valid use > cases for it, that's fine with me. I think it's more for completeness and adding it is 5 lines of code. It only makes sense when using a plugin (dns != none,default), but when not wanting NM to touch /etc/resolv.conf. Thank you.
merged to master: https://cgit.freedesktop.org/NetworkManager/NetworkManager/commit/?id=87ded996111603350c647f6e41dd74e7857884b5