Mailinglist Archive: opensuse-bugs (19584 mails)

< Previous Next >
[Bug 335486] network interface not set up during boot after upgrade from 10 .2 to 10.3
  • From: bugzilla_noreply@xxxxxxxxxx
  • Date: Mon, 26 May 2008 07:41:57 -0600 (MDT)
  • Message-id: <20080526134157.81A0324538E@xxxxxxxxxxxxxxxxxxxxxx>
https://bugzilla.novell.com/show_bug.cgi?id=335486

User mt@xxxxxxxxxx added comment
https://bugzilla.novell.com/show_bug.cgi?id=335486#c31





--- Comment #31 from Marius Tomaschewski <mt@xxxxxxxxxx> 2008-05-26 07:41:56
MDT ---
(In reply to comment #30 from Walter Haidinger)
Marius,

I was finally was able to create the debug info as requested by comment #26.
Since I do not know how to make a private attachment (does somebody?),
I'll simply send it to you directly.

OK, thanks!

In your and in Peters case, a "ifup eth0 -o hotplug" is never called
(same for eth1). This means, you have a problem with udev rules.

/etc/udev/rules.d # ls -l *net*
-rw-r--r-- 1 root root 450 2008-05-26 14:59:09 70-persistent-net.rules
-rw-r--r-- 1 root root 1518 2007-09-21 21:12:39
75-persistent-net-generator.rules
-rw-r--r-- 1 root root 823 2008-05-22 12:39:27 77-network.rules

There should be one rule for each physical network device, e.g.:

/etc/udev/rules.d # grep -Ev "^#|^$" 70-persistent-net.rules
SUBSYSTEM=="net", DRIVERS=="?*", ATTR{address}=="00:17:31:ca:a5:a5",
NAME="eth0"
SUBSYSTEM=="net", DRIVERS=="?*", ATTR{address}=="00:17:31:ca:a3:92",
NAME="eth1"

Please verify using "rpm -V udev" and "rpm -V syslog" that the
both another rule files are not modified:

# rpm -qf /etc/udev/rules.d/75-persistent-net-generator.rules
udev-114-19
# rpm -qf /etc/udev/rules.d/77-network.rules
sysconfig-0.70.2-4.6


The 77-network.rules file is responsible for "marking" the interface
available by creating the $STAMPFILE:

==> 77-network.rules:
[...]
SUBSYSTEM=="net", ACTION=="add", RUN+="/sbin/ifup $env{INTERFACE} -o hotplug"
[...]

==> /sbin/ifup:
[...]
if [ "$SCRIPTNAME" == ifup -a "$HOTPLUG" == yes ] ; then
IFINDEX=/sys/$DEVPATH/ifindex
if [ -r "$IFINDEX" ] ; then
STAMPFILE=$STAMPFILE_STUB`cat $IFINDEX`
echo renamed > $STAMPFILE
fi
fi
[...]

The DEVPATH variable is provided by udev and points to the path of the
device, e.g. devices/pci0000:00/0000:00:10.0/net/eth0.

The STAMPFILE is checked in the rcnetwork script -- see comment #4 and
#9, your patches apply exactly to this place..

But the network script is not the reason of the problem - something is
wrong with the udev network rules on your systems.

This is the reason, why I asked to verify sysconfig + udev installation.


--
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

< Previous Next >