[aklug] Re: RedHat: overwritten /etc/sysconfig/network-scripts/ifcfg-eth* files

From: Mike Tibor <tibor@tibor.org>
Date: Thu Oct 07 2010 - 20:22:16 AKDT

On Thu, 7 Oct 2010, adam bultman wrote:

> Not that I know of. Unless kudzu is running and autoconfiguring the
> interfaces, nothing should really be touching those.
>
> You can run system-config-network and see what it sees, and configure
> things there, but nothing by default should clobber those values when
> you reboot.
>
> You could always chattr +i the files, so they can't get changed at all...

I've been using Redhat based systems (with a slight dabbling into Neveah
Linux that still gives me cold sweats at night :-) ) for over 10 years now
and I've never seen anything that messes with the ifcfg-eth* scripts on a
reboot.

I was also going to suggest setting the immutable bit on the files as Adam
shows above as a short term fix, but you need to find out exactly what is
going on--I'm instantly suspicious of anything that would overwrite stuff
like that. I'd start with /etc/rc and go through each subsequent script
that gets executed on startup. Heck, just grepping for ifcfg in /etc/*
would be a good start.

Good luck,
Mike
---------
To unsubscribe, send email to <aklug-request@aklug.org>
with 'unsubscribe' in the message body.
Received on Thu Oct 7 20:22:24 2010

This archive was generated by hypermail 2.1.8 : Thu Oct 07 2010 - 20:22:24 AKDT