Mikkel L. Ellertson wrote:
Sure, if dhcp client is the only thing wanting to mess with your
resolv.conf. But for example I have one of these that I didn't create,
and doesn't seem to be to do with dhcp:
/etc/sysconfig/networking/profiles/default/resolv.conf
immutable is going to ensure you manage resolv.conf manually no matter
what (from a growing list, apparently) decides it knows better. If
that's not what is desired don't use this selfproclaimed dirty hack.
-Andy
I bet that if you set immutable on /etc/resolv.conf it is also going
to be set on /etc/sysconfig/networking/profiles/default/resolv.conf.
At least on my systems, they are the same linked file.
From ls -i:
7856654 /etc/resolv.conf
7856654 /etc/sysconfig/networking/profiles/default/resolv.conf
I usually just remove anything under the
/etc/sysconfig/networking/profiles directory so I don't have any
surprises. Is it's use documented somewhere?
--
Les Mikesell
lesmikesell@xxxxxxxxx