Re: Why does resolv.conf keep changing?
- To: firstname.lastname@example.org
- Subject: Re: Why does resolv.conf keep changing?
- From: Roger Lynn <Roger@rilynn.me.uk>
- Date: Fri, 3 Nov 2017 22:22:33 +0000
- Message-id: <[🔎] email@example.com>
- In-reply-to: <uEPC2firstname.lastname@example.org>
- References: <20171023021203.GA17288@connexer.com> <email@example.com> <20171025040136.GH17288@connexer.com> <firstname.lastname@example.org> <email@example.com> <firstname.lastname@example.org> <20171025124249.GJ3697@tuxteam.de> <email@example.com> <firstname.lastname@example.org> <20171026104444.GK17288@connexer.com> <email@example.com>
On 26/10/17 13:40, Stefan Monnier wrote:
>> Given that multiple packages potentially touch/change resolv.conf (at
>> least resolvconf and the various DHCP clients),
> That is not true: when resolvconf is installed, *no package* should
> (modulo bugs) ever change /etc/resolv.conf.
> Instead all changes go through resolvconf, which only modifies
> /run/resolvconf/resolv.conf (and those changes usually get reflected
> into /etc/resolv.conf by making it a symlink to that file, but that's
> not mandatory).
> Stefan "who thinks resolvconf should always be installed"
I think it would be preferable for every package which wants to write to the
resolv.conf file to be required to use the resolvconf package to do so
(which is what I, and I think some other people, thought the situation was
until we read this thread). Uninstalling the resolvconf package would then
mean nothing could write to the resolv.conf file.
I've been in the fortunate position that I've never needed to install the
resolvconf package and nothing has ever tried to modify my resolv.conf file.
I've obviously led a sheltered life.