From fe0c798544c45f97779def824a2dc55cfcc49e56 Mon Sep 17 00:00:00 2001 From: Lukas Nykryn Date: Thu, 7 May 2015 14:50:13 +0200 Subject: bonding: warn if the ifup for slave device failed Cherry-picked from: 8fd278b052b0e4882887c393a102dd453803b477 Resolves: #1263700 --- sysconfig/network-scripts/ifup-eth | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sysconfig') diff --git a/sysconfig/network-scripts/ifup-eth b/sysconfig/network-scripts/ifup-eth index cd935db7..e53683b7 100755 --- a/sysconfig/network-scripts/ifup-eth +++ b/sysconfig/network-scripts/ifup-eth @@ -126,7 +126,7 @@ if [ "$ISALIAS" = no ] && is_bonding_device ${DEVICE} ; then /sbin/ip link set dev ${DEVICE} up for device in $(LANG=C grep -l "^[[:space:]]*MASTER=['\"]\?${DEVICE}['\"]\?\([[:space:]#]\|$\)" /etc/sysconfig/network-scripts/ifcfg-*) ; do is_ignored_file "$device" && continue - /sbin/ifup ${device##*/} + /sbin/ifup ${device##*/} || net_log "Unable to start slave device ${device##*/} for master ${DEVICE}." warning done [ -n "${LINKDELAY}" ] && /bin/sleep ${LINKDELAY} -- cgit v1.2.1