[rancid] Extra spaces being randomly added - and seen as config changes

Aaron Wasserott aaron.wasserott at viawest.com
Fri Jan 4 22:46:33 UTC 2013


I had changed RANCID to strip passwords and when it ran next that's what I got (repeated below)

set ike gateway "xcolo" address 123.45.67.89 Main outgoing-interface "bgroup0" preshare "wLE/x18INtTxJ6sT42CM5FxvOphJ/3%YZg==" sec-level standard
+ #set ike gateway "xcolo" address 123.45.67.89 Main outgoing-interface 
+ "bgroup0" preshare <removed> sec-level standard

It should show a config difference in this case, but not split across lines like that - in the case above it's showing 1 removed line and 2 added lines when it should be 1 and 1.

I do agree that Kerry's issue does seem different. In her case the output from the router for that parameter appears to be missing entirely, not just on a different line. Unless of course RANCID is really doing something funky and just ignoring the output after the : altogether.

-----Original Message-----
From: rancid-discuss-bounces at shrubbery.net [mailto:rancid-discuss-bounces at shrubbery.net] On Behalf Of Alex DEKKER
Sent: Friday, January 04, 2013 3:39 PM
To: rancid-discuss at shrubbery.net
Subject: Re: [rancid] Extra spaces being randomly added - and seen as config changes

On 04/01/13 15:39, Kerry Cox wrote:
> - !BootFlash: BOOT variable = 
> disk0:/asa911-k8.bin;disk0:/asa901-k8.bin
> + !BootFlash: BOOT variable =


> -----Original Message-----
> From:rancid-discuss-bounces at shrubbery.net  
> [mailto:rancid-discuss-bounces at shrubbery.net] On Behalf Of Aaron 
> Wasserott
> Sent: Friday, January 04, 2013 3:31 AM Here is an example from a 
> ScreenOS device:
>
> set ike gateway "xcolo" address 123.45.67.89 Main outgoing-interface 
> "bgroup0" preshare "wLE/x18INtTxJ6sT42CM5FxvOphJ/3%YZg==" sec-level 
> standard
> + #set ike gateway "xcolo" address 123.45.67.89 Main 
> + outgoing-interface "bgroup0" preshare<removed>  sec-level standard

Did you add the <removed> or do you have RANCID set to strip certain keys and passwords from configs? If the latter, then I would say that your [Aaron's] issue is not related to Kerry's.

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