[SERVER] Something keeps changing my /etc/hosts
Hello, I'm working on my mail server and something keeps resetting my /etc/hosts after I make changes. I've used yast a couple times, so I suspect that maybe SuSE config is doing it. It is quite obviously just copying it from some backup somewhere, the only trouble is, I can't find out where :-) Anyone run into this one before? ---------------------------------------------------- Jonathan Wilson System Administrator Cedar Creek Software http://www.cedarcreeksoftware.com Central Texas IT http://www.centraltexasit.com
In /etc/rc.config: CHECK_ETC_HOSTS="no" BEAUTIFY_ETC_HOSTS="no" I'd recommend turning off other switches as well, the resolv.conf switch f.ex -tosi Þann miðvikudagur 13 júní 2001 18:04 skrifaðir þú:
Hello,
I'm working on my mail server and something keeps resetting my /etc/hosts after I make changes. I've used yast a couple times, so I suspect that maybe SuSE config is doing it. It is quite obviously just copying it from some backup somewhere, the only trouble is, I can't find out where :-)
Anyone run into this one before?
---------------------------------------------------- Jonathan Wilson System Administrator
Cedar Creek Software http://www.cedarcreeksoftware.com Central Texas IT http://www.centraltexasit.com
On Wed, 13 Jun 2001, Tor Sigurdsson wrote: ts> ts> In /etc/rc.config: ts> ts> CHECK_ETC_HOSTS="no" ts> BEAUTIFY_ETC_HOSTS="no" ts> heh, oh yeah, forgot about those two :/ disregard my previous reply of same subject. ts> I'd recommend turning off other switches as well, the resolv.conf ts> switch f.ex ts> ts> -tosi ts> ts> �ann mi�vikudagur 13 j�n� 2001 18:04 skrifa�ir ��: ts> > Hello, ts> > ts> > I'm working on my mail server and something keeps resetting my /etc/hosts ts> > after I make changes. I've used yast a couple times, so I suspect that ts> > maybe SuSE config is doing it. It is quite obviously just copying it from ts> > some backup somewhere, the only trouble is, I can't find out where :-) ts> > ts> > ts> > Anyone run into this one before? ts> > ts> -- S.Toms - smotrs@mindspring.com - www.mindspring.com/~smotrs SuSE Linux v7.0+ - Kernel 2.2.18 When all other means of communication fail, try words.
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> -- S.Toms - smotrs@mindspring.com - www.mindspring.com/~smotrs SuSE Linux v7.0+ - Kernel 2.2.18 "I gained nothing at all from Supreme Enlightenment, and for that very reason it is called Supreme Enlightenment." -- Gotama Buddha
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
participants (4)
-
Jeffrey Taylor
-
S.Toms
-
Tor Sigurdsson
-
wilson@claborn.net