From owner-freebsd-cvsweb@FreeBSD.ORG Tue May 31 01:16:35 2005 Return-Path: X-Original-To: freebsd-cvsweb@FreeBSD.org Delivered-To: freebsd-cvsweb@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7217316A41C for ; Tue, 31 May 2005 01:16:35 +0000 (GMT) (envelope-from noackjr@alumni.rice.edu) Received: from smtp831.mail.sc5.yahoo.com (smtp831.mail.sc5.yahoo.com [66.163.171.18]) by mx1.FreeBSD.org (Postfix) with SMTP id 2B75D43D1D for ; Tue, 31 May 2005 01:16:35 +0000 (GMT) (envelope-from noackjr@alumni.rice.edu) Received: from unknown (HELO optimator.noacks.org) (noacks@swbell.net@70.240.196.53 with login) by smtp831.mail.sc5.yahoo.com with SMTP; 31 May 2005 01:16:34 -0000 Received: from localhost (localhost [127.0.0.1]) by optimator.noacks.org (Postfix) with ESMTP id C9C1260D7; Mon, 30 May 2005 20:16:33 -0500 (CDT) Received: from optimator.noacks.org ([127.0.0.1]) by localhost (optimator.noacks.org [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 96990-13; Mon, 30 May 2005 20:16:31 -0500 (CDT) Received: from compgeek.noacks.org (compgeek [192.168.1.10]) by optimator.noacks.org (Postfix) with ESMTP id 2880160CE; Mon, 30 May 2005 20:16:31 -0500 (CDT) Received: from [127.0.0.1] (localhost [127.0.0.1]) by compgeek.noacks.org (8.13.3/8.13.3) with ESMTP id j4V1GU9P001286; Mon, 30 May 2005 20:16:30 -0500 (CDT) (envelope-from noackjr@alumni.rice.edu) Message-ID: <429BBAEA.2000208@alumni.rice.edu> Date: Mon, 30 May 2005 20:16:26 -0500 From: Jonathan Noack User-Agent: Mozilla Thunderbird 1.0.2 (X11/20050428) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Dan Langille References: <429B65B2.852.2566F796@localhost> <429B7BA3.28393.25BCAEB4@localhost> In-Reply-To: <429B7BA3.28393.25BCAEB4@localhost> X-Enigmail-Version: 0.91.0.0 OpenPGP: id=991D8195; url=http://www.noacks.org/cert/noackjr.asc Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig1EC3D1C8DAD15AADC1FF869F" X-Virus-Scanned: amavisd-new at noacks.org Cc: freebsd-cvsweb@FreeBSD.org Subject: Re: Error: Failed to spawn GNU rlog X-BeenThere: freebsd-cvsweb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: noackjr@alumni.rice.edu List-Id: CVS Web maintenance mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 31 May 2005 01:16:35 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig1EC3D1C8DAD15AADC1FF869F Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit On 05/30/05 19:46, Dan Langille wrote: > On 30 May 2005 at 19:12, Jonathan Noack wrote: >>On 05/30/05 18:12, Dan Langille wrote: >>>I'm getting this error: >>> >>>Error >>> >>>Error: Failed to spawn GNU rlog on >>>"/usr/websites/develop.example.org/repository/configuration//vhosts. >>>co nf.sample,v, >>>/usr/websites/develop.example.org/repository/configuration//.cvsigno >>>re ,v". >>> >>>Did you set the $command_path in your configuration file correctly ? >>>(Currently "/bin:/usr/bin:/usr/local/bin" >>> >>>If I run rlog on the above mentioned files, I get expected results. >>> >>>I'm running 4.11-stable, Apache 1.3.33, cvsweb-2.0.6_2, and perl >>>5.8.6 >>> >>>This entry from the archives indicates >>>this is not a new problem, but also that it should be fixed >>>"shortly". >>> >>>Clues please? >> >>Historically this has been a problem with CVSweb 2.0.x and Perl 5.8's >>stricter taint checks, but the -T flag was removed as of 2.0.6_1 and >>there have been no reports of this problem since July 2004. When you >>run rlog manually, are you running it as the same user that runs >>CVSweb (and most likely Apache)? > > No, I ran it as myself. To run it as www: > > $ sudo su -m www rlog /usr/websites/develop.example.org/reposito > ry/configuration//vhosts.conf.sample,v > /usr/websites/develop.freshports.org/repository/configuration > //.cvsignore,v > rlog: No such file or directory. > > Interesting... I guess Apache needs something added to the path. The following works for me (note the '-c' and quotes): ************************************************************ $ sudo su -m www -c 'rlog /usr/home/cvsroot/test/a,v' RCS file: /usr/home/cvsroot/test/a,v Working file: a ... $ ll /usr/home/cvsroot/test/a,v -r--r--r-- 1 noackjr noackjr - 199 Mar 23 2004 /usr/home/cvsroot/test/a,v ************************************************************ >>Any chance you can try devel/cvsweb3 and see if you have the same >>problem? > > I tried. Similar problem: Error: Failed to spawn GNU rlog .... OK, good to know. -- Jonathan Noack | noackjr@alumni.rice.edu | OpenPGP: 0x991D8195 --------------enig1EC3D1C8DAD15AADC1FF869F Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (FreeBSD) iD8DBQFCm7ruUFz01pkdgZURAjgEAKCfvBetq+/NUlqPskSEF+0+/yn6MACgzK5w 5veTaAMtufYoH2E9V5N8ZYc= =vohf -----END PGP SIGNATURE----- --------------enig1EC3D1C8DAD15AADC1FF869F--