[rancid] Re: running rancid-run manually generates false changes

Lance Vermilion lance at gheek.net
Tue Aug 7 20:11:20 UTC 2007


David/Yuval,

Make sure you source the /etc/rancid.conf file so that you have all the
same environmental variable...including TERM. Different TERMs cause
weird issues.

-Lance

> -------- Original Message --------
> Subject: [rancid] Re: running rancid-run manually generates false
> changes
> From: "David Luyer" <david+rancid at luyer.net>
> Date: Tue, August 07, 2007 9:57 am
> To: "Yuval Ben Ari" <yuval.ben.ari at gmail.com>
> Cc: rancid-discuss at shrubbery.net
> 
> > Hi,
> > I have a strange and annoying problem.
> > when rancid-run is launched from cronjob (on user "rancid" crontab) all is
> > ok.
> > but if I try to run it manually on some groups or router even if I am
> > logged in as user rancid while doing it, it create false diffs of
> > router in all the groups and I get following mail:
> >
> > -----------
> > Subject: changes in groupname routers
> > Routers changed to up:
> >         routerx:cisco
> >
> > Added routers:
> >         routerx:cisco
> >
> > Deleted routers:
> >         routerx:cisco
> > -----------
> 
> I take it you have multiple routers in each of these sections of the email?
> 
> Some of the state files from RANCID are sorted.  Some of the tools in the
> control_rancid script assume consistent sorting of the 'before' and 'after'
> files.
> 
> Your cron daemon and your login session may be using different locales
> (with different sort orders)?
> 
> David.
> 
> _______________________________________________
> Rancid-discuss mailing list
> Rancid-discuss at shrubbery.net
> http://www.shrubbery.net/mailman/listinfo.cgi/rancid-discuss



More information about the Rancid-discuss mailing list