[rancid] duplicated characters
john heasley
heas at shrubbery.net
Tue Sep 20 16:25:23 UTC 2011
Thu, Sep 15, 2011 at 09:52:33AM -0600, Corey Edwards:
> > either way, if you can capture clogin -d -c 'show running' o/p where this
> > occurs, it should at least reveal where the bug is.
>
> I captured this output, but unfortunately it was rife with passwords. I
> trimmed it down to what I hope is still a useful summary. In this
> example the duplicated character showed up in the word "permitt".
>
> http://pastebin.com/epUCPr2p
-expect: does "access-list 1 permit x.x.x.101\r\naccess-li" (spawn_id exp6) match regular expression "\u0008+"? (No Gate, RE only) gate=yes re=no
+expect: does "access-list 1 permitt x.x.x.101\r\naccess-l" (spawn_id exp6) match regular expression "\u0008+"? (No Gate, RE only) gate=yes re=no
its occuring inside tcl or expect. i suspect its the same problem that i
had with hpuifilter when some linux users started upgrading. I dont know
what the cause is, but i'd look for old versions of libc and internationization
libraries that tcl or expect are linked with.
> > you can also try rebuilding tcl and expect w/o internationalization.
>
> I could not find any way to do this.
hrm, there doesnt appear to be an easy way to disable it in expect.
More information about the Rancid-discuss
mailing list