[rancid] Newline issue

heasley heas at shrubbery.net
Thu Jan 26 15:23:37 UTC 2017


Thu, Jan 26, 2017 at 08:42:35AM +0000, Merijn Evertse:
> Hello,
> 
> The rancid run on our Fortigate units has a small issue. Every hour or so we get the following:
> 
> -     set two-factor-ftm-expiry 72
> 
> +     set two-fact
> 
> + or-ftm-expiry 72
> 
> Or
> 
> -     set virtual-server-hardware-acceleration enable
> 
> +     set vi
> 
> + rtual-server-hardware-acceleration enable

This is most likely either the pager or some out-of-band like logs being
written to the vty while the config is being collected.  fnlogin should
be disabling the pager; verify that your aaa configuration is allowing
it to do so.

> I also see this sometimes on other devices, Cisco, Vyos etc.
> It seems that something goes wrong reading the lines and the code sees a newline where it shouldn't.

vyos is not supported by rancid and i've never used it, but it is probably
the same cause.  For the cisco too, and that is almost definitely your aaa
not allowing it to disable the pager; but there are a few cisco platforms
that have no way to disable the pager.

> On Vyos it looks like:
> 
> - # chassis_asset_tag: show hardware pci
> 
> - # 3091-1101-9766-6577-4039-0090-06
> 
> + # chassis_asset_tag: 3091-1101-9766-6577-4039-0090-06
> 
> Related one hour earlier:
> 
> - # chassis_asset_tag: 3091-1101-9766-6577-4039-0090-06
> 
> + # chassis_asset_tag: show hardware pci #
> 
> + 3091-1101-9766-6577-4039-0090-06
> 
> And here the command itself is shown.
> 
> Kind regards,
> 
> Merijn Evertse

> _______________________________________________
> Rancid-discuss mailing list
> Rancid-discuss at shrubbery.net
> http://www.shrubbery.net/mailman/listinfo/rancid-discuss



More information about the Rancid-discuss mailing list