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

Russell Jackson raj at csub.edu
Mon Nov 24 18:11:10 UTC 2008

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- 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 @@
 CATEGORIES=    net-mgmt
 MASTER_SITES=  ftp://ftp.shrubbery.net/pub/rancid/

 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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 258 bytes
Desc: OpenPGP digital signature
Url : http://www.shrubbery.net/pipermail/rancid-discuss/attachments/20081124/0aea438c/attachment.bin 

More information about the Rancid-discuss mailing list