Package: ucarp
Version: 1.5.2-1
Severity: critical

ucarp'd router went down today. We have about 40-50 vlans on it, on eth0.$X
for eg.

When its redundant twin went to pickup the vip's, some :ucarp interfaces did
not get configured.

This is because 40 copies of ifup ran at once, and stepped on eachothers toes,
erasing the statefile:

ifup: failed to overwrite statefile /etc/network/run/ifstate: 
No such file or directory

furthermore this was not logged.

using ifup --force in /usr/share/ucarp/vip-up might help, but that might also
be dangerous, if Im reading correctly regarding recent ifupdown-related
changes and related packages providing ifupdown scripts.

additionally, while we're at it adding 

[ -x /usr/bin/arping ] && /usr/bin/arping -c 1 -q -I "$1" -U "$2" || \
[ -x /usr/sbin/arping ] && /usr/sbin/arping -c 1 -q -B -s "$2" -i "$1"

(not sure if -A is better than -U for the first arpping line)

to the vip-up script might be handy (from the iputils-arping pkg, not 
arping.deb...).

Script ideas courtesy Paul Hessels @hessels.ca

/kc
-- 
Ken Chase - k...@heavycomputing.ca skype:kenchase23 +1 416 897 6284 Toronto 
Canada
Heavy Computing - Clued bandwidth, colocation and managed linux VPS @151 Front 
St. W.


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to