[rancid] FW: expect-rancid-ubuntu804lts.patch
Chris Gauthier
cgauthier at mapscu.com
Fri Aug 29 19:47:38 UTC 2008
John,
I updated the patch file on the website to reflect the proper line
numbers, etc for Ubuntu 8.04 LTS (Server) using the expect 5.43.0-14
source package. I am not sure how to contribute this to Ubuntu to get
it into their normal build process, but, there's a current patch file
for Ubuntu-loving rancid users, though!
Btw, rebuilding this expect is a PITA. :-|
Happy Friday,
Chris Gauthier, CCNA
Network Administrator
Marion and Polks Schools Credit Union
cgauthier at mapscu.com
(503) 588-0181 x3401 Voice
(503) 779-1083 Fax
-----Original Message-----
From: root [mailto:root at netmon.mapscu.com]
Sent: Friday, August 29, 2008 12:46 PM
To: Chris Gauthier
Subject: expect-rancid-ubuntu804lts.patch
--- exp_chan.c.bak 2008-08-29 11:46:51.000000000 -0700
+++ exp_chan.c 2008-08-29 12:14:28.000000000 -0700
@@ -200,6 +200,11 @@
* nonblocking, the read will never block.
*/
+ /* Added next line as a patch to make rancid work. There is a
know bug
+ * with expect and rancid.
+ * See http://www.shrubbery.net/rancid/EXPECTBUG for details.
+ */
+ fcntl(esPtr->fdin, F_SETFL, O_NONBLOCK); /* patched line for
rancid */
bytesRead = read(esPtr->fdin, buf, (size_t) toRead);
/*printf("ExpInputProc: read(%d,,) =
%d\r\n",esPtr->fdin,bytesRead);*/
if (bytesRead > -1) {
More information about the Rancid-discuss
mailing list