[rancid] Small patch for francid.in

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


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

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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: rancid-crypto-ssl.patch
Type: text/x-diff
Size: 519 bytes
Desc: 
Url : http://www.shrubbery.net/pipermail/rancid-discuss/attachments/20080215/f3f016a1/attachment.bin 


More information about the Rancid-discuss mailing list