Package: ifupdown Version: 0.7.8 The option "primary" for bonding interfaces is not set. I stumbled upon this while trying to set up an active-backup interface. The options are from /usr/share/doc/ifenslave-2.6/README.Debian.gz, but they seem to be parsed by /sbin/ifup. So i am not quite sure if filing against package ifupdown is correct. But running /sbin/ifup under "strace -f" exhibits no invocation of /sbin/ifenslave nor /sbin/ifenslave-2.6. Just the skript "/etc/network/if-pre-up.d/ifenslave" is being run.
The Configuration (in /etc/network/interfaces): ----------------------------------- SNIP ----------------------------------- iface bond1 inet static address 1.2.3.4 netmask 255.255.255.0 network 1.2.3.0 broadcast 1.2.3.255 bond-mode active-backup bond-slaves eth1 eth3 bond-primary eth1 bond-miimon 10 bond-updelay 200 bond-downdelay 30 bond-primary-reselect always bond-fail-over-mac follow bond-num-grat-arp 5 ----------------------------------- SNAP ----------------------------------- and what /sbin/ifup -v reports: ----------------------------------- SNIP ----------------------------------- Configuring interface bond1=bond1 (inet) run-parts --verbose /etc/network/if-pre-up.d run-parts: executing /etc/network/if-pre-up.d/ethtool run-parts: executing /etc/network/if-pre-up.d/ifenslave + IFSTATE=/etc/network/run/ifstate + IF_BOND_SLAVES=eth1 eth3 + [ ] + [ eth1 eth3 ] + BOND_MASTER=bond1 + BOND_SLAVES=eth1 eth3 + [ -z bond1eth1 eth3 ] + add_master + [ -f /sys/class/net/bond1/bonding/slaves ] + return + early_setup_master + sysfs fail_over_mac follow + [ follow ] + echo follow + return 0 + setup_master + sysfs use_carrier + [ ] + return 0 + sysfs num_grat_arp 5 + [ 5 ] + echo 5 + return 0 + sysfs num_unsol_na + [ ] + return 0 + sysfs_change_down xmit_hash_policy + [ ] + sysfs_add arp_ip_target + sysfs arp_interval + [ ] + return 0 + sysfs miimon 10 + [ 10 ] + echo 10 + return 0 + sysfs downdelay 30 + [ 30 ] + echo 30 + return 0 + sysfs updelay 200 + [ 200 ] + echo 200 + return 0 + sysfs_change_down ad_select + [ ] + sysfs_change_down mode active-backup + [ active-backup ] + grep -sq \<active-backup\> /sys/class/net/bond1/bonding/mode + sysfs mode active-backup + [ active-backup ] + echo active-backup + return 0 + sysfs arp_validate + [ ] + return 0 + sysfs_change_down lacp_rate + [ ] + grep -sq \<eth1\> /sys/class/net/bond1/bonding/slaves + sysfs primary_reselect always + [ always ] + echo always + return 0 + [ ] + [ bond1 != bond1 ] + enslave_slaves + [ 1 = 1 ] + v=-v + [ ] + ip link set eth1 down + sysfs_add slaves eth1 + ifup -v --allow bond1 eth1 + [ ] + ip link set eth3 down + sysfs_add slaves eth3 + ifup -v --allow bond1 eth3 + exit 0 ip addr add 1.3.4.4/255.255.255.0 broadcast 1.2.3.255 dev bond1 label bond1 ip link set dev bond1 up run-parts --verbose /etc/network/if-up.d run-parts: executing /etc/network/if-up.d/ethtool run-parts: executing /etc/network/if-up.d/ifenslave + [ ] run-parts: executing /etc/network/if-up.d/mountnfs run-parts: executing /etc/network/if-up.d/ntpdate run-parts: executing /etc/network/if-up.d/openssh-server run-parts: executing /etc/network/if-up.d/postfix run-parts: executing /etc/network/if-up.d/upstart ----------------------------------- SNAP ----------------------------------- I verified all settings in /sys/class/net/bond1/bonding. They were corectly written by /sbin/ifup. Its just "primary" which stays empty. If "eth1" is written manually into /sys/class/net/bond1/bonding/primary this setting takes effect immedietaly. (Interface is being used) Are there any other tests, that could help in resolving this bug? Debian Rel. 7.5 on amd64 libc6:amd64 2.13-38+deb7u1 Sincerely R.Brecht -- ----------------------------------------------------------------------- Heise Medien Gruppe Fon: +49-511-5352-752 GmbH & Co. KG Karl-Wiechert Allee 10 30625 Hannover E-mail: raffaello.bre...@heise-medien.de Registergericht: Amtsgericht Hannover HRA 26650 Persoenlich haftende Gesellschafterin: Heise Medien Gruppe Geschaeftsfuehrung GmbH Registergericht: Amtsgericht Hannover HRB 60190 Geschaeftsfuehrer: Christian Heise, Ansgar Heise ----------------------------------------------------------------------- -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org