[rancid] Alteon switch "esecret" problem again - rancid 2.3.6

Krzysztof Zygmunt krzysztof.zygmunt at gmail.com
Wed Apr 20 10:30:30 UTC 2011


On Wed, Apr 20, 2011 at 12:47 AM, Paul Gear <paul at gear.dyndns.org> wrote:
> On 19/04/11 19:36, Krzysztof Zygmunt wrote:
>> [ info from another guy having the same problem ]
>>
>> This one seems to work:
>> bash-3.2$ diff /usr/bin/arancid /usr/bin/arancid.original
>> 212c212
>> <     next if (/^.*?esecret.*/);
>> ---
>>>
>>
>> Can we do sth. to make this change applied in source code of 2.3.6
>> version to make sure
>> it still works fine after we upgrade to another version ?
>>
>> On Thu, Apr 14, 2011 at 7:11 PM, Lee <ler762 at gmail.com> wrote:
>>> probably this:
>>>
>>> 209a190,191
>>>>
>>>>       next if (/esecret/);
>>>
>>> is ignoring any lines that have the string "esecret".  I'd try adding
>>> that line to the 2.3.6 source code.
>
> If i'm not mistaken (it *is* before my first coffee is finished this
> morning, so it's entirely possible), the line you've suggested is
> a) not valid regexp, and
> b) functionally equivalent to the line that Lee suggested.
> Why not just use the simpler version?
>
> Paul
>
> _______________________________________________
> Rancid-discuss mailing list
> Rancid-discuss at shrubbery.net
> http://www.shrubbery.net/mailman/listinfo.cgi/rancid-discuss
>

Indeed the simpler one work as well. I've just given it a try again.

What can we do to make sure this line will also be there in next
rancid release ?


Thank you very much for your help.
Cheers
Krzysztof Zygmunt


More information about the Rancid-discuss mailing list