[rancid] rancid-run won't get config login, `clogin` works, `rancid -d` does get config

Chris Wopat me at falz.net
Mon Nov 14 14:00:06 UTC 2011

On Mon, Nov 14, 2011 at 4:10 AM, bob watson <bobthebaritone at gmail.com> wrote:
> Chris,
> Not sure what aliases you are on, but a cron'd environment may not have the
> aliases that you think you get.
> Check you environment...print @ENV.

The device that RANCID is connecting to does not have anything RANCID
related in cron. RANCID logs in to it as a standard user, that user's
environment should be obeyed just like it is when a 'real' user logs
in. The RANCID server has no modifications to it at all, just a device
added to .clogin and router.db.

So to reiterate in case my original post was too long- why does
'rancid' and 'clogin' work but 'rancid-run' doesn't?

More information about the Rancid-discuss mailing list