[rancid] Re: "Routers changed to down:" Problem

thomas cp lee thomas.lee at airliquide.com
Wed Apr 16 14:48:34 UTC 2008


On Wed, Apr 16, 2008 at 12:07:53PM +0200, thomas cp lee a ecrit: 
> 
> Any help would be greatly appreciated. Vive Rancid !
> 
Okay, looks like I've cracked it myself...

There is (at least on my ubuntu) a problem with the 
flags in the 'diff' program called by control_rancid.

The "diff" program is executed with the flags "-u -4", and
that appears to be obselete. When I modify it in the control_rancid
script, so that it's "-U 4", it seems to now work as god intended.

(plz note, I've not changed it (yet) on the "cvs diff" line...)

So, in a nutshell for me :

perl -i -pe 's/^diff -u -4/diff -U 4/g' /var/lib/rancid/bin/control_rancid

Voila, cheers.

Tom

--s
Thomas Lee
Unix, Réseaux & Sécurité
ISIS [Pôle Services]
Air Liquide


More information about the Rancid-discuss mailing list