[rancid] Re: Small patch for francid.in

john heasley heas at shrubbery.net
Fri Feb 15 18:40:41 UTC 2008


Fri, Feb 15, 2008 at 03:34:33PM +0000, Jethro R Binks:
> Attached is a small patch which removes the secret_data for the SSL crypto 
> key on the SuperX platform (at least).  For whatever reason, I was finding 
> that this was changing between rancid runs (I think newlines were 
> appearing), and it probably doesn't need to be stored anyway.
> 
> Incidentally, I also see a similar problem with the Serial number of 
> BigIrons, where for whatever reason rancid doesn't always obtain it 
> correctly, ending up with garbage, for example (we've seen this for 
> years):
> 
> -!      Serial #:   CH20033740
> +!      Serial #:   C?????????

That would remove the module/LC serial numbers.  Could you provide an
example of the diff, not cut-n-pasted so white-space it retained exactly?

> So I also locally apply:
> 
> @@ -179,6 +179,8 @@
> 
>         next if (/^(The system |Crash time)/);
>         next if (/^((Active|Standby) Management|LP Slot \d+) uptime is/);
> +# ::Strath::
> +        next if (/^\s+Serial #/);
> 
> Jethro.
> 
> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
> Jethro R Binks
> Computing Officer, IT Services
> University Of Strathclyde, Glasgow, UK

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