[rancid] Re: FreeBSD 7.0 + Expect 5.43.0 -- Do I need to patch expect?

Eric Cables ecables at gmail.com
Thu Dec 4 02:25:41 UTC 2008


Would upgrading to tcl8.5 be a potential solution?  Reading through the old
expect threads it indicated that the problem may be with Tcl itself.  Right
now the system is running tcl-8.4.19.

-- Eric Cables


On Wed, Dec 3, 2008 at 6:10 PM, Eric Cables <ecables at gmail.com> wrote:

> This problem has made a resurgence this week, crashing out every night and
> sending the CPU on the box that RANCID runs on sky high.  I end up killing
> the hung expect processes manually, but instead of staying constant it
> appears to be getting worse (dang growing environments).
>
> Any suggestions are welcome...
>
> -- Eric Cables
>
>
> On Mon, Nov 24, 2008 at 10:11 AM, Russell Jackson <raj at csub.edu> wrote:
>
>> Eric Cables wrote:
>> > I've been running into this problem quite frequently, about once a week
>> or
>> > so rancid will hang for no apparent reason, and until I kill the process
>> it
>> > will remain hung.  I've read in the archives that Linux & Solaris have a
>> > problem with expect that requires a patch, but does this also include
>> > FreeBSD?
>> >
>>
>> I've been running rancid on FreeBSD 6.2 without issue for some time. I
>> haven't had any
>> hangs with respect to expect. I haven't tried it on FreeBSD 7.0 yet.
>>
>>
>> $ uname -a
>> FreeBSD svn.csub.edu 6.2-RELEASE FreeBSD 6.2-RELEASE #0: Fri Jul 13
>> 19:38:42 PDT 2000
>> rjackson3 at thor.csub.edu:/usr/obj/usr/src/sys/THOR  i386
>>
>>
>> $ pkg_info | egrep 'tcl|rancid'
>> expect-nox11-5.44.1.7 A sophisticated scripter based on tcl/tk
>> rancid-local-2.3.2a7_1 Really Awesome New Cisco confIg Differ
>> tcl-8.4.19,1        Tool Command Language
>>
>>
>> I'm running a locally patched version of the rancid port to silence cisco
>> diff noise (STP
>> costs et al).
>>
>> $ diff -ur net-mgmt/rancid-devel local/rancid
>> Only in local/rancid: .svn
>> diff -ur net-mgmt/rancid-devel/Makefile local/rancid/Makefile
>> --- net-mgmt/rancid-devel/Makefile      Mon Dec 31 06:28:08 2007
>> +++ local/rancid/Makefile       Mon Feb 25 15:56:16 2008
>> @@ -10,7 +10,6 @@
>>  PORTREVISION=  1
>>  CATEGORIES=    net-mgmt
>>  MASTER_SITES=  ftp://ftp.shrubbery.net/pub/rancid/
>> -PKGNAMESUFFIX= <ftp://ftp.shrubbery.net/pub/rancid/-PKGNAMESUFFIX=>-devel
>>
>>  MAINTAINER=    janos.mohacsi at bsd.hu
>>  COMMENT=       Really Awesome New Cisco confIg Differ
>> Only in local/rancid/files: .svn
>> Only in local/rancid/files: patch-bin::cat5rancid.in
>> Only in local/rancid/files: patch-bin::clogin.in
>> Only in local/rancid/files: patch-bin::rancid.in
>> Only in local/rancid: pkg-message
>>
>>
>> --
>> Russell A. Jackson <raj at csub.edu>
>> Network Analyst
>> California State University, Bakersfield
>>
>> The greatest productive force is human selfishness.
>>                -- Robert Heinlein
>>
>>
>> _______________________________________________
>> Rancid-discuss mailing list
>> Rancid-discuss at shrubbery.net
>> http://www.shrubbery.net/mailman/listinfo.cgi/rancid-discuss
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.shrubbery.net/pipermail/rancid-discuss/attachments/20081203/4958629d/attachment.html 


More information about the Rancid-discuss mailing list