https://bugzilla.novell.com/show_bug.cgi?id=668613
https://bugzilla.novell.com/show_bug.cgi?id=668613#c8
--- Comment #8 from Konstantin Velichko 2011-02-24 14:16:15 UTC ---
Hello, I tried the following:
#rm if-up.d/ifup-route
#ifup dsl0 -o debug
dsl0 name: DSL
Enter the password for the internet provider.
Password:
interface dsl0 is up
executing additional global start script if-up.d/21-cifs
executing additional global start script if-up.d/21-dhcpcd-hook-samba
executing additional global start script if-up.d/55-samba-winbindd
executing additional global start script if-up.d/ndp-proxy
executing additional global start script if-up.d/SuSEfirewall2
But route was not added. ifup do not execute ifup-route automatically.
Change BOOTPROTO='static'
ifup dsl0 -o debug
dsl0 name: DSL
Enter the password for the internet provider.
Password:
interface dsl0 is up
executing additional global start script if-up.d/21-cifs
executing additional global start script if-up.d/21-dhcpcd-hook-samba
executing additional global start script if-up.d/55-samba-winbindd
executing additional global start script if-up.d/ndp-proxy
executing additional global start script if-up.d/SuSEfirewall2
Route was not added.
I'm return sym-link:
ln -s /etc/sysconfig/network/scripts/ifup-route
/etc/sysconfig/network/if-up.d/ifup-route
And comment sleep:
is_iface_up () {
echo "judge begin!!!"
test -z "$1" && return 1
echo "not zero!!"
# sleep 10
# echo "wait 10 seconds!!"
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
}
Output:
ifup dsl0 -o debug
dsl0 name: DSL
Enter the password for the internet provider.
Password:
interface dsl0 is up
executing additional global start script if-up.d/21-cifs
executing additional global start script if-up.d/21-dhcpcd-hook-samba
executing additional global start script if-up.d/55-samba-winbindd
executing additional global start script if-up.d/ifup-route
judge begin!!!
not zero!!
have class!!
interface dsl0 is not up
executing additional global start script if-up.d/ndp-proxy
executing additional global start script if-up.d/SuSEfirewall2
route was not added.
ifcfg-dsl0 was created yast's. I used for it this http://ru.opensuse.org/VPN
HOWTO. And BOOTPROTO='none' was automatic generated.
--
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.