|
Bugzilla – Full Text Bug Listing |
| Summary: | DHCP client NOT running, failed eth0 interface could not be set up until now | ||
|---|---|---|---|
| Product: | [openSUSE] openSUSE 11.1 | Reporter: | Uwe Fest <ufest> |
| Component: | Network | Assignee: | Marius Tomaschewski <mt> |
| Status: | RESOLVED DUPLICATE | QA Contact: | E-mail List <qa-bugs> |
| Severity: | Normal | ||
| Priority: | P5 - None | CC: | mt, rainer.klier |
| Version: | Final | ||
| Target Milestone: | --- | ||
| Hardware: | x86-64 | ||
| OS: | openSUSE 11.1 | ||
| Whiteboard: | |||
| Found By: | --- | Services Priority: | |
| Business Priority: | Blocker: | --- | |
| Marketing QA Status: | --- | IT Deployment: | --- |
The correction is not correct -- it just ignores the missed state file. I think there is a mount point for /dev/shm tmpfs in the /etc/fstab, right? See bug 335486 & co. Yes I have a mount point for /dev/shm tmpfs in the /etc/fstab: tmpfs /dev/shm tmpfs size=10G 0 0 Please remove /dev/shm mount entry from /etc/fstab and add explicit one for /dev instead: udev /dev tmpfs noauto,size=10G 0 0 The /dev/shm mount happens too late and hides files created by udev rules, that were already there before the separate file system has been mounted. See also bug 516769 and bug 335486. BTW: On openSUSE-11.2 /dev/.sysconfig is used for the state files. *** This bug has been marked as a duplicate of bug 335486 *** This fix is in the Novell Plan9 Virtual Appliance build 137. Source repository: lego revision: 2305. |
User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; de; rv:1.9.0.8) Gecko/2009032600 SUSE/3.0.8-1.1.1 Firefox/3.0.8 The installation is an upgrade from opensuse 11.0 to opensuse 11.1. The init-script network run not correctly on boot time. On command line rcnetwork start is ok. The configuration use dhcp4 client. Error message on boot: eth0: RTL8168b/8111b at 0xf8f6e000, 00:17:31:87:44:be, IRQ 17 doneWaiting for mandatory devices: eth0 __NSC__ eth0 device: Realtek Semiconductor Co., Ltd. RTL8111/8168B PCI Express Gigabit Ethernet controller (rev 01) eth0 DHCP client NOT running eth0 is down failed eth0 interface could not be set up until now Solution: script-part old: for a in $(type_filter `ls -A /sys/class/net/`); do test -d /sys/class/net/$a || continue t=`get_iface_type $a` case "$t" in eth|tr|ib|wlan) STAMPFILE=$STAMPFILE_STUB`cat /sys/class/net/$a/ifindex` if [ "$MODE" = onboot -a "$ACTION" = start ] ; then # skip interfaces (with active drivers) # but not yet prepared by an # ifup -o hotplug # call is triggered in udev rules. # (may need rename to their final name) if [ ! -e "$STAMPFILE" ] ; then continue fi fi ;; lo|wlan_aux) continue ;; esac for b in $VIRTUAL_IFACES ; do if [ "$a" = "$b" ] ; then NOT_PHYSICAL_IFACES="$NOT_PHYSICAL_IFACES $a" continue 2 fi done PHYSICAL_IFACES="$PHYSICAL_IFACES $a" done script-part new: for a in $(type_filter `ls -A /sys/class/net/`); do test -d /sys/class/net/$a || continue t=`get_iface_type $a` case "$t" in eth|tr|ib|wlan) STAMPFILE=$STAMPFILE_STUB`cat /sys/class/net/$a/ifindex` if [ "$MODE" = onboot -a "$ACTION" = start ] ; then # skip interfaces (with active drivers) # but not yet prepared by an # ifup -o hotplug # call is triggered in udev rules. # (may need rename to their final name) if [ ! -e "$STAMPFILE" ] ; then true # correction # continue # correction fi fi ;; lo|wlan_aux) continue ;; esac for b in $VIRTUAL_IFACES ; do if [ "$a" = "$b" ] ; then NOT_PHYSICAL_IFACES="$NOT_PHYSICAL_IFACES $a" continue 2 fi done PHYSICAL_IFACES="$PHYSICAL_IFACES $a" done Reproducible: Always Steps to Reproduce: 1. 2. 3.