Edit /etc/rc.config:
#
# SuSEconfig can do some checks and modifications in /etc/hosts.
# If this is not wanted, set the following variable to 'no' (yes, no).
#
CHECK_ETC_HOSTS="no"
#
# If CHECK_ETC_HOSTS is set to yes, SuSEconfig sorts your
# /etc/hosts. But in some cases this may be unwanted. So here is a
# flag, where you can configure if /etc/hosts should be "beautified".
# (yes/no)
#
BEAUTIFY_ETC_HOSTS="no"
HTH,
Jeffrey
Quoting S.Toms
On Wed, 13 Jun 2001, Jonathan Wilson wrote:
jw> Hello, jw> jw> I'm working on my mail server and something keeps resetting my jw> /etc/hosts after I make changes. I've used yast a couple times, so jw> I suspect that maybe SuSE config is doing it. It is quite jw> obviously just copying it from some backup somewhere, the only jw> trouble is, I can't find out where :-) jw>
You sure it's /etc/hosts and not /etc/resolv.conf ?? Havn't heard of /etc/hosts being modded magically, but /etc/resolv.conf does if your configured as a DHCLIENT by the /sbin/dhclient-script file.
jw> jw> Anyone run into this one before? jw>
-- I don't do Windows and I don't come to work before nine. -- Johnny Paycheck