https://bugzilla.novell.com/show_bug.cgi?id=335486
User peter-mailbox@web.de added comment
https://bugzilla.novell.com/show_bug.cgi?id=335486#c9
--- Comment #9 from Peter Küppers
# Now get all available interfaces drop lo and separate them into physical and # not physical. Then get AVAILABLE_IFACES sorted to shutdown the not physical # first. for a in $(type_filter `ls -A /sys/class/net/`); do test "$a" = lo && continue; test "$a" = sit0 && continue; test "$a" = bonding_masters && continue; test "${a#wifi}" != "$a" && continue case $a in eth*|ath*|wlan*|ra*) # Skip these which are too new, they will come via hotplug #Stempeln in rename_netiface #- am Anfang: virgin #- während dem Schleifen: looping #- am Ende: renamed #ifup bricht gleich ab, wenn kein service network #Wenns keinen Stempel gibt dann Stempeln unknown --> skip #Wenn Stempel virgin --> skip # looping --> skip # renamed --> set up #In Statusschleife, wenn mandatory devices gecheckt werden: # wenn status failed # STEMPEL == unknown && halbe Wartezeit vorbei -> ifup # == virgin/looping/renamed -> nix STAMPFILE=$STAMPFILE_STUB`cat /sys/class/net/$a/ifindex` if [ "$MODE" == onboot -a "$ACTION" == start ] ; then if [ -r "$STAMPFILE" ] ; then case "`cat $STAMPFILE`" in virgin|looping) continue ;; esac else echo unknown > $STAMPFILE continue fi fi ;; esac for b in $DIALUP_IFACES $TUNNEL_IFACES; do if [ "$a" = "$b" ] ; then NOT_PHYSICAL_IFACES="$NOT_PHYSICAL_IFACES $a" continue 2 fi done case $a in sit*) NOT_PHYSICAL_IFACES="$NOT_PHYSICAL_IFACES $a" continue 2 ;; esac PHYSICAL_IFACES="$PHYSICAL_IFACES $a" done <<<
In openSUSE 10.3 /etc/init.d/network is different up from line 472:
# Now get all available interfaces drop lo and separate them into physical and # not physical. Then get AVAILABLE_IFACES sorted to shutdown the not physical # first. # Interfaces may be renamed by udev after they are registered. In some cases # this may take some time. Therefore we check a 'renamed' flag if an interface # is ready to be set up. If an it is not ready now, it will be set up via # udev/ifup (because network is started now). We will just have to wait for it # later in the start section if it is considered mandatory (see next section). for a in $(type_filter `ls -A /sys/class/net/`); do case "`get_iface_type $a`" in eth|tr|wlan) STAMPFILE=$STAMPFILE_STUB`cat /sys/class/net/$a/ifindex` if [ "$MODE" == onboot -a "$ACTION" == start ] ; then if [ ! -e "$STAMPFILE" ] ; then continue # this leaves the for-loop! fi fi ;; lo|wlan_aux) continue ;; esac for b in $DIALUP_IFACES $TUNNEL_IFACES; do if [ "$a" = "$b" ] ; then NOT_PHYSICAL_IFACES="$NOT_PHYSICAL_IFACES $a" continue 2 fi done case $a in sit*) NOT_PHYSICAL_IFACES="$NOT_PHYSICAL_IFACES $a" continue 2 ;; esac PHYSICAL_IFACES="$PHYSICAL_IFACES $a" done <<< I marked the line with the supposed bug with a comment (this leaves the for-loop!), see above. Since the for-loop is stopped here, the variable PHYSICAL_IFACES has no value! And what's about "virgin and looping" from openSUSE 10.2?
I hope this gives a hint for a solution to the bug. Peter -- 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.