From owner-freebsd-stable@FreeBSD.ORG Thu Mar 1 19:05:18 2007 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 99AD616A405 for ; Thu, 1 Mar 2007 19:05:18 +0000 (UTC) (envelope-from deischen@freebsd.org) Received: from mail.ntplx.net (mail.ntplx.net [204.213.176.10]) by mx1.freebsd.org (Postfix) with ESMTP id 3910713C4A3 for ; Thu, 1 Mar 2007 19:05:18 +0000 (UTC) (envelope-from deischen@freebsd.org) Received: from sea.ntplx.net (sea.ntplx.net [204.213.176.11]) by mail.ntplx.net (8.14.0/8.14.0/NETPLEX) with ESMTP id l21J5ElW015852; Thu, 1 Mar 2007 14:05:14 -0500 (EST) X-Virus-Scanned: by AMaViS and Clam AntiVirus (mail.ntplx.net) X-Greylist: Message whitelisted by DRAC access database, not delayed by milter-greylist-3.0 (mail.ntplx.net [204.213.176.10]); Thu, 01 Mar 2007 14:05:15 -0500 (EST) Date: Thu, 1 Mar 2007 14:05:14 -0500 (EST) From: Daniel Eischen X-X-Sender: eischen@sea.ntplx.net To: Andrew Reilly In-Reply-To: <20070228232440.GA52836@duncan.reilly.home> Message-ID: References: <20070228042229.GA33810@duncan.reilly.home> <20070228232440.GA52836@duncan.reilly.home> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: freebsd-stable@freebsd.org, freebsd-ports@freebsd.org Subject: Re: Apache13/MoinMoin/Python vs PATH? What changed? X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Daniel Eischen List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 01 Mar 2007 19:05:18 -0000 On Thu, 1 Mar 2007, Andrew Reilly wrote: > Hi Daniel, > > On Wed, Feb 28, 2007 at 08:41:00AM -0500, Daniel Eischen wrote: >> On Wed, 28 Feb 2007, Andrew Reilly wrote: >>> Funny thing happened after the last upgrade (upgraded to >>> 6-STABLE yesterday): the moinmoin wiki that I've been >>> playing with stopped working. A little fiddling found >>> that I could make it work again by changing the shebang >>> at the top of /usr/local/www/wiki/moin.cgi (ScriptAlias >>> points there, in httpd.conf) from #!/usr/bin/env python to >>> #!/usr/local/bin/python >> >> See this thread: >> >> http://groups.google.com/group/mailing.freebsd.cvs/browse_thread/thread/a0344851d94df36f/e94a3c524ff22732?lnk=st&q=&rnum=3#e94a3c524ff22732 >> >> If that link doesn't work, search groups.google.com, >> "/usr/bin/env python group:*freebsd*" and see the >> "cvs commit: src/etc rc.subr" thread. > > Thanks for the link: it worked fine for me. > > I'm a little surprised that I appear to be the first one bringing up a > problem with this change, given that it happened three months ago. > Since there was no warning in UPDATING, were all of the python ports > patched at about the same time? (I haven't done a portupgrade all that > recently: just FreeBSD itself.) > > What is the approved "fix" for this problem? Setting a PATH that > includes /usr/local/bin in /usr/local/etc/rc.d/apache.sh? Or the > shebang patch to the python script itself, that I have already made? Has anyone answered this yet? I do not know myself. -- DE