[rancid] running rancid-run manually generates false changes

Yuval Ben Ari yuval.ben.ari at gmail.com
Tue Aug 7 14:59:10 UTC 2007


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
-----------

 such mail for every group I have.

also if I try to run with command like this:
/bin/su --command="/home/rancid/bin/rancid-run -r routername" - rancid

I found it is related to control_rancid which falsely detects a change
for some reason.

any idea ?

Thanks


More information about the Rancid-discuss mailing list