[rancid] Re: Small patch for francid.in

Jethro R Binks jethro.binks at strath.ac.uk
Fri Feb 15 21:21:20 UTC 2008


On Fri, 15 Feb 2008, john heasley wrote:

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

I know, which is why I only mention it in passing for information.  I 
don't expect it to be included in the code, although I'd be interested to 
know if other people have observed the issue.  The characters replaced are 
often 8bit chars.  I've not looked in any detail to try and find out what 
causes it to happen.

The attached patch to my original mail to deal with the secret_data was 
the important issue.

Jethro.


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

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Jethro R Binks
Computing Officer, IT Services
University Of Strathclyde, Glasgow, UK


More information about the Rancid-discuss mailing list