Received: with ECARTIS (v1.0.0; list gopher); Fri, 24 Dec 2004 08:51:27 -0600 (CST) Received: from mo-69-69-114-6.sta.sprint-hsd.net ([69.69.114.6] helo=erwin.lan.complete.org) by glockenspiel.complete.org with esmtp (with TLS-1.0:RSA_ARCFOUR_SHA:16) (TLS peer CN erwin.complete.org, certificate verified) (Exim 4.34) id 1Chqmm-0005tx-NT; Fri, 24 Dec 2004 08:51:26 -0600 Received: from katherina.lan.complete.org ([10.200.0.4]) by erwin.lan.complete.org with esmtp (with TLS-1.0:RSA_ARCFOUR_SHA:16) (No TLS peer certificate) (Exim 4.34) id 1Chqmf-0004nZ-DH; Fri, 24 Dec 2004 08:51:13 -0600 Received: from jgoerzen by katherina.lan.complete.org with local (Exim 4.34) id 1Chqmf-0001AH-6B; Fri, 24 Dec 2004 08:51:13 -0600 Date: Fri, 24 Dec 2004 08:51:13 -0600 From: John Goerzen To: gopher@complete.org Subject: [gopher] Re: pygopherd & scriptexec Message-ID: <20041224145113.GC4277@katherina.lan.complete.org> References: <41CB7DA7.6090608@aaronjangel.us> Mime-Version: 1.0 Content-type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <41CB7DA7.6090608@aaronjangel.us> User-Agent: Mutt/1.5.6+20040907i X-Spam-Status: No (score 1.6): RCVD_IN_NJABL_DUL=1.58 X-Virus-Scanned: by Exiscan on glockenspiel.complete.org at Fri, 24 Dec 2004 08:51:26 -0600 Content-Transfer-Encoding: 8bit X-archive-position: 986 X-ecartis-version: Ecartis v1.0.0 Sender: gopher-bounce@complete.org Errors-to: gopher-bounce@complete.org X-original-sender: jgoerzen@complete.org Precedence: bulk Reply-to: gopher@complete.org List-help: List-unsubscribe: List-software: Ecartis version 1.0.0 List-Id: Gopher X-List-ID: Gopher List-subscribe: List-owner: List-post: List-archive: X-list: gopher On Thu, Dec 23, 2004 at 08:23:35PM -0600, Aaron J. Angel wrote: > I'm trying out this scriptexec stuff in pygopherd, but I get an error: > > File "/usr/lib/python2.2/site-packages/pygopherd/pipe.py", line 43, in > pipedata_unix That line is: os.execve(file, args, environ) I might suggest running strace -f on the pygopherd process to see just what it is trying to exec. That would be a useful first step anyway. Oh, if you're running chroot -- you likely have no /bin in your chroot, let alone a /bin/sh. -- John Goerzen Author, Foundations of Python Network Programming http://www.amazon.com/exec/obidos/tg/detail/-/1590593715