File 0025-network-do-not-wait-for-virtuals-reporting-errors.patch of Package sysconfig.openSUSE_12.1_Update

From 1a69ec6d96bb1c42a6fd547cabdf88389b002483 Mon Sep 17 00:00:00 2001
From: Marius Tomaschewski <mt@suse.com>
Date: Mon, 15 Oct 2012 12:27:08 +0200
References: bnc#784952
Subject: [PATCH 07/11] network: do not wait for virtuals reporting errors

---
 scripts/network |    6 ++++++
 1 Datei geändert, 6 Zeilen hinzugefügt(+)

diff --git a/scripts/network b/scripts/network
index 1fd813f..2735d2a 100755
--- a/scripts/network
+++ b/scripts/network
@@ -925,6 +925,7 @@ case "$ACTION" in
 		done
 
 		debug ... final
+		debug FAILED_IFACES=''
 		debug SUCCESS_IFACES=$SUCCESS_IFACES
 		debug MANDATORY_DEVICES=$MANDATORY_DEVICES
 		debug FAILED=$FAILED
@@ -950,6 +951,7 @@ case "$ACTION" in
 		 				echo
 						;;
 					$R_NOCONFIG)
+						FAILED_IFACES="$FAILED_IFACES $IFACE"
 						rc_failed 6
 						rc_status -v1
 						# : $((FAILED++))
@@ -960,6 +962,7 @@ case "$ACTION" in
 						rc_status -v1
 		 				;;
 		 			*)
+						FAILED_IFACES="$FAILED_IFACES $IFACE"
 		 				rc_failed 7
 		 				rc_status -v1
 						# : $((FAILED++))
@@ -981,6 +984,9 @@ case "$ACTION" in
 					for S in $SUCCESS_IFACES; do
 						test "$IFACE" = "$S" && continue 2
 					done
+					for F in $FAILED_IFACES ; do
+						test "$IFACE" = "$F" && continue 2
+					done
 					IFACE="`type_filter $IFACE`"
 					test -z "$IFACE" && continue
 					status -m $IFACE &>/dev/null
-- 
1.7.10.4

openSUSE Build Service is sponsored by