[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: /etc/resolv.conf changes every booting time



On Sun, Aug 06, 2023 at 04:09:14PM +0000, Andy Smith wrote:

[...]

> And we wonder why this list ends up dealing with the aftermath of
> the Gene school of "don't understand it? Hit it with chattr +i / rm
> / apt-get purge!" so often.

I must admit that I was one of those proposing chattr +i in this
context (it feels like half to one decade ago). To my defense, I
said then (and repeat now) that I don't recommend it as a permanent
fix, rather as a debugging tool. The next step would be to go to
the logs and see which software is complaining. Then you know which
man pages to hit :-)

Leaving "chattr +i" behind in /etc at random spots will come back
to shoot you painfully in the foot (e.g. at the next system upgrade,
when you'll have forgotten about it).

If the sysadmin is me, I'll just leave it for as long as the single
debugging session lasts.

Then you'll [1] come here, whining ;-)

Cheers

[1] No, not you, Andy. This was more the generic "you" :-)

-- 
tomás

Attachment: signature.asc
Description: PGP signature


Reply to: