WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-users

[Xen-users] CentOS 5.0 ifcfg-eth0 gets renamed on boot

To: "Xen Users" <xen-users@xxxxxxxxxxxxxxxxxxx>
Subject: [Xen-users] CentOS 5.0 ifcfg-eth0 gets renamed on boot
From: "Amos Shapira" <amos.shapira@xxxxxxxxx>
Date: Tue, 13 Nov 2007 19:21:51 +1100
Delivery-date: Tue, 13 Nov 2007 00:29:35 -0800
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:mime-version:content-type; bh=LlX6+fbvjX00hYE0c9RFcjEd/dUp2g3w0loJZG96tJw=; b=ecwBAXiOIDYRIvniplp3bUrOv1+xBqa0dri+JfdKZjSrdyyqqy1NDaZPcqm5mGncu/HQ9QG7iA779t26RF8bXs3OeirRbW3mkxBm+TimM+Lxv3F2D+h91eAoRw156+MJO1PxHif2AcfJz3QKg2nzq7rr9mAmGDVLLmSV1V0Ijug=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:mime-version:content-type; b=b5ZmZEajxraJ69qcSAwypeKdkCgyPoyVgBQYcIBqFNj5WpyfjOmepgvxYqgaerdtXl0ANu6o4s7YW1HU5bcIG4JuxS1Pyu9eXIRAaEum+/ob3NTyRvP37Gh1xU8IvAld+no12g+JVXeVrnzXpCX659E9/aBWSPWh/Ll0IitDm2o=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
Hello,

I created a CentOS 5.0 x86_64 guest under Debian Etch with Xen 3.0.3 and it boots fine except for one re-occuring problem - whenever it boots the /etc/sysconfig/network-scripts/ifcfg-eth0 script gets renamed to .bak and doesn't configure the ethernet device.

Here is the content of this file:

TYPE=Ethernet
DEVICE=eth0
BOOTPROTO=static
>IPADDR=192.168.0.247
NETMASK=255.255.255.0
GATEWAY=192.168.0.2

Looks pretty standard to me.

When I boot the system to single-user mode the file is still there but when I ^D to go to multi-user the file gets renamed at some stage.

A simple "mv ifcfg-eth0.bak ifcfg-eth0" and "service network restart" fixes the problem but it's still very annoying to have to do that every time i reboot the system (luckily these are just test/dev machines for now).

I tried to follow the output of the boot in the console but can't see anything wrong, and can't find what in the world could do this renaming at boot time.

What am I missing?

Thanks,

--Amos

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users