<?xml version="1.0"?>
<!DOCTYPE wml PUBLIC "-//WAPFORUM//DTD WML 1.1//EN"
"http://www.wapforum.org/DTD/wml_1.1.xml">
<wml>
<card id="index" title="Text File" newcontext="true">
<p>
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 &lt;jgoerzen@complete.org&gt;
To: gopher@complete.org
Subject: [gopher] Re: pygopherd &amp; scriptexec
Message-ID: &lt;20041224145113.GC4277@katherina.lan.complete.org&gt;
References: &lt;41CB7DA7.6090608@aaronjangel.us&gt;
Mime-Version: 1.0
Content-type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: &lt;41CB7DA7.6090608@aaronjangel.us&gt;
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: &lt;mailto:ecartis@complete.org?Subject=help&gt;
List-unsubscribe: &lt;mailto:gopher-request@complete.org?Subject=unsubscribe&gt;
List-software: Ecartis version 1.0.0
List-Id: Gopher &lt;gopher.complete.org&gt;
X-List-ID: Gopher &lt;gopher.complete.org&gt;
List-subscribe: &lt;mailto:gopher-request@complete.org?Subject=subscribe&gt;
List-owner: &lt;mailto:jgoerzen@complete.org&gt;
List-post: &lt;mailto:gopher@complete.org&gt;
List-archive: &lt;http://www.complete.org/mailinglists/archives/&gt;
X-list: gopher
</p>
<p>On Thu, Dec 23, 2004 at 08:23:35PM -0600, Aaron J. Angel wrote:
&gt; I&#x27;m trying out this scriptexec stuff in pygopherd, but I get an error:
&gt;
&gt;    File &quot;/usr/lib/python2.2/site-packages/pygopherd/pipe.py&quot;, line 43, in
&gt; pipedata_unix
</p>
<p>That line is:
</p>
<p>            os.execve(file, args, environ)
</p>
<p>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.
</p>
<p>Oh, if you&#x27;re running chroot -- you likely have no /bin in your
chroot, let alone a /bin/sh.
</p>
<p>--
John Goerzen
Author, Foundations of Python Network Programming
http://www.amazon.com/exec/obidos/tg/detail/-/1590593715
</p>
<p></p>
</card>
</wml>
