Hi!
This has been addressed on 1.1.0-21 which unluckily didn't make it to
squeeze, this version is currently available from the repositories, testing,
for example, and is installable on squeeze.
However when I was tracking this issue I also came to a problem with the
sysfs path that is being used on the if-up.d script, here is a patch for it.
--- /etc/network/if-up.d/ifenslave~ 2011-11-14 11:36:35.000000000 +0100
+++ /etc/network/if-up.d/ifenslave 2013-11-07 13:16:51.761490273 +0100
@@ -8,7 +8,7 @@
# $1 = basename of the file in bonding/ to write to.
# $2 = value to write. Won't write if $2 is empty.
if [ "$2" ] ; then
- echo "$2" > "/sys/class/net/$IFACE/master/bonding/$1"
+ echo "$2" > "/sys/class/net/$IFACE/bonding/$1"
return $?
fi
return 0
@@ -27,7 +27,7 @@
# This is supposed to be enought to give a chance to wifi to authenticate
# properly.
if [ "$IF_BOND_GIVE_A_CHANCE" ] ; then
- read primary < "/sys/class/net/$IFACE/master/bonding/primary"
+ read primary < "/sys/class/net/$IFACE/bonding/primary"
# Set the temporary primary.
sysfs primary "$IFACE"
Regards.
--
Manty/BestiaTester -> http://manty.net
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]