Univention Bugzilla – Bug 36342
bond-primary is never written to UCR
Last modified: 2014-12-04 12:22:22 CET
I guess it needs to be fixed for UCS 4.0 as well. +++ This bug was initially created as a clone of Bug #36341 +++ 2014102821000257 The selected primary interface in the bonding wizard is never written into UCR. This is problematic in scenarios where one of the network paths is prefered (faster for example). In case of failure, the bond switches to the (slower) fallback interface/path but never switches back to the prefered (primary) interface/path when that one is back up. Workaround: Configure manually via UCR: ucr set interfaces/bond1/options/X="bond-primary ethN" Don't know if that gets overridden when re-running the UMC wizard. Manuel switch to the prefered interface is also possible at runtime via ifenslave, e.g.: # ifenslave -c bond0 eth0
YAML: 2014-11-21-univention-system-setup.yaml
OK: r56050 OK: aptitude install '?source-package(univention-system-setup)?installed' OK: bond-primary eth1 FAIL: cat /sys/class/net/bond0/bonding/primary this is empty - looks like a bug in /etc/network/if-pre.up/ifenslave manually setting it works - therefore I close this bug as verified This is <https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=712656> or <https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=699445>, which contains the patch <https://bugs.debian.org/cgi-bin/bugreport.cgi?msg=10;filename=ifenslave_20-21.debdiff;att=1;bug=699445> Continuing with manual work-around. OK: 2014-11-21-univention-system-setup.yaml OK: domiflist pt70-master domif-setlink pt70-master vnet1 down domif-setlink pt70-master vnet1 up domif-setlink pt70-master vnet2 down domif-setlink pt70-master vnet2 up
http://errata.univention.de/ucs/4.0/2.html