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

From: Christopher Howard <choward@indicium.us>
Date: Fri Oct 08 2010 - 07:12:33 AKDT

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 10/07/10 21:32, Jim Gribbin wrote:
> Is it RedHat, or something RedHat based?
>
> I ask because the SME/E-Smith server I mentioned the other day uses perl
> scripts to re-write all that stuff in /etc. You can edit the stuff
> in /etc to whatever you want, but it gets reset by the perl scripts as
> soon as the system (or maybe service) is restarted.
>
> To make any real changes, you have to know where the perl scripts are
> and how they work.
>
> Jim G
>
> On Thu, 2010-10-07 at 10:00 -0800, Christopher Howard wrote:
>> Hey, I'm no RedHat expert, but I've got this RedHat box at work which
>> uses ifcfg-eth* files to attach interface names to MAC address, and set
>> the static IP address of each interface. But somehow, each time the
>> system is rebooted, these ifcfg-eth* files are being altered to change
>> the MAC addresses to bogus values.
>>
>> We think it might be custom software on the machine overwriting these
>> files but are not sure. Is there any standard software on a RedHat
>> system that could be overwriting these files?
>>
>
> ---------
> To unsubscribe, send email to <aklug-request@aklug.org>
> with 'unsubscribe' in the message body.
>

Sorry to give such a boring answer, but we did more work on the system
and discovered it was custom software messing with the ifcfg-eth* files.
They had a separate script and config file that writes MAC addresses
into each of the ifcfg-eth* files at boot.

- --
Christopher Howard
frigidcode.com
theologia.indicium.us
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.16 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkyvNOEACgkQQ5FLNdi0BcUeqgCgkwgV/PcKcISl9Plm2AZpWFx5
oYoAn3kxTuPxaw1WeBlCMZvMoJEtPEIP
=6jXD
-----END PGP SIGNATURE-----
---------
To unsubscribe, send email to <aklug-request@aklug.org>
with 'unsubscribe' in the message body.
Received on Fri Oct 8 07:16:41 2010

This archive was generated by hypermail 2.1.8 : Fri Oct 08 2010 - 07:16:41 AKDT