http://bugzilla.novell.com/show_bug.cgi?id=518219 User mt@novell.com added comment http://bugzilla.novell.com/show_bug.cgi?id=518219#c16 Marius Tomaschewski <mt@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED --- Comment #16 from Marius Tomaschewski <mt@novell.com> 2009-11-13 05:53:27 MST --- (In reply to comment #12)
eth0 isn't set up as mandatory in /etc/sysconfig/network/config. I've tried doing that but it didn't help. I guess it should be mandatory automatically as a physical interface with STARTMODE='auto'.
Yes. When MANDATORY_DEVICES in network/config is not set, physical interfaces are added to the set. The documentation of MANDATORY_DEVICES variable does not have the "boot" option (set automatically when started via init). Without it, there are no mandatory devices -- waiting at boot isn't executed. Further, the network script runs twice with: localfs and remotefs filter. Please use instead: rcnetwork start -o boot debug fake localfs It should look like this (OK, this is more complex setup): # rcnetwork start -o boot debug fake localfs * Modifications by localfs filter: PHYSICAL_IFACES => eth0 eth1 eth2 + = eth0 eth1 eth2 NOT_PHYSICAL_IFACES => br0 br1 + = br0 br1 MANDATORY_DEVICES => eth0 eth1 + = eth0 eth1 MANDATORY_SLAVES => + = VIRTUAL_IFACES => br0 br1 + = br0 br1 CONFIG = INTERFACE = AVAILABLE_IFACES = br0 br1 eth0 eth1 eth2 PHYSICAL_IFACES = eth0 eth1 eth2 BONDING_IFACES = VLAN_IFACES = DIALUP_IFACES = TUNNEL_IFACES = BRIDGE_IFACES = br0 br1 SLAVE_IFACES = eth0 eth1 MANDATORY_DEVICES = eth0 eth1 __NSC__ VIRTUAL_IFACES = br0 br1 SKIP = start order : eth0 eth1 eth2 ; eth0 eth1 __NSC__ ; br0 br1 Setting up (localfs) network interfaces: ifup lo -o rc onboot lo returned 0 done ifup eth0 -o rc onboot eth0 returned 0 done ifup eth1 -o rc onboot eth1 returned 0 done ifup eth2 -o rc onboot eth2 returned 0 done .. still waiting for hotplug devices: SUCCESS_IFACES= lo eth0 eth1 eth2 MANDATORY_DEVICES=eth0 eth1 __NSC__ .. final SUCCESS_IFACES= lo eth0 eth1 eth2 MANDATORY_DEVICES= FAILED=0 ifup br0 -o rc onboot br0 returned 0 done ifup br1 -o rc onboot br1 returned 0 done ifup-route noiface -o rc onboot Setting up service (localfs) network . . . . . . . . . . done
Anyway, there's only a single ethernet adapter, it has no exotic configuration. I've attached boot.msg and config, dhcp and ifcfg-eth0 from /etc/sysconfig/network.
Yes, I don't see anything special in your configs. I guess I know where the problem is: ifup-dhcp does not know when exactly the dhcp client sets the hostname. It may return OK to the network script too early. I've to take a closer look how to fix this (synchonize them)... -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.