[rancid] Rancid issues
heas at shrubbery.net
Fri Sep 27 23:55:53 UTC 2019
Wed, Aug 21, 2019 at 02:44:01PM +0000, john heasley:
> Wed, Aug 21, 2019 at 12:10:35PM +0200, Chris Knipe:
> > Hi All,
> > Rancid setup and everything's fine form what I can tell. I'm getting a
> > strange error I haven't seen before:
> > router.db:
> > za-ctn-pe01;mikrotik;up
> > bash-4.2$ ./bin/rancid -d -t mikrotik za-ctn-pe01
> > loadtype: device type mikrotik
> > loadtype: found device type mikrotik in /srv/rancid/etc/rancid.types.base
> > executing mtlogin -t 90 -c"" za-ctn-pe01
> > inloop is not configured for device type mikrotik at ./bin/rancid line 130.
> > Not quite sure what is happening at this stage...
> bin/rancid does not work this way with scripts that have not been converted
> to modules. It could be made to work, I just had not anticipated it. you
> must run the script itself.
> mtrancid [opts] hostname
I've fixed this here:
rancid, rancid.pm: handle non-modulized rancid scripts in the rancid script
by exec()ing the real script
More information about the Rancid-discuss