Re: Why does resolv.conf keep changing?
-----BEGIN PGP SIGNED MESSAGE-----
On Mon, Oct 23, 2017 at 09:17:11AM +0100, Joe wrote:
> On Sun, 22 Oct 2017 22:12:03 -0400
> Roberto C. Sánchez <firstname.lastname@example.org> wrote:
> > I did find a page on the Debian wiki  which recommends setting the
> > immutable attribute on /etc/resolv.conf. However, that feels like an
> > ugly hack.
> It most certainly is, and shouldn't be necessary in your case.
I've used that approach sometimes and regularly recommend it.
That said, my main intention is to *debug* the problem, i.e. to
provoke an error message in some log file or whatever, to learn which
process is (undesirably?) mutating some file. Most of the time this
leads to learning some config option to not do that mutation in the
first place (or to some understanding on why that mutation is a Good
Thing after all and to a better way of solving my real, underlying
Only in exceptional cases I had to "leave in" the immutable attribute
as a permanent "solution".
(as to the rest, yeah, resolvconf seems a worthy candidate).
- -- tomás
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)
-----END PGP SIGNATURE-----