Mailinglist Archive: opensuse-bugs (5931 mails)

< Previous Next >
[Bug 668613] ifroute fails if it was started from ifup <int>

https://bugzilla.novell.com/show_bug.cgi?id=668613

https://bugzilla.novell.com/show_bug.cgi?id=668613#c1


Li Bin <bili@xxxxxxxxxx> changed:

What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |NEEDINFO
InfoProvider| |kviset@xxxxxxx

--- Comment #1 from Li Bin <bili@xxxxxxxxxx> 2011-02-22 03:36:37 UTC ---
Konstantin,

I read the script, when judge whether the interface is up or not, it failed.

is_iface_up () {
test -z "$1" && return 1
test -d /sys/class/net/$1 || return 1
case "`LC_ALL=POSIX ip link show $1 2>/dev/null`" in
*$1*UP*) ;;
*) return 1 ;;
esac
}

So I need more debug info, could you change the
/etc/sysconfig/network/scripts/functions.

is_iface_up () {
echo "judge begin!!!"
test -z "$1" && return 1
echo "not zero!!"
test -d /sys/class/net/$1 || return 1
echo "have class!!"
case "`LC_ALL=POSIX ip link show $1 2>/dev/null`" in
*$1*UP*) ;;
*) return 1 ;;
esac
}

--
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.

< Previous Next >
References