Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 30 May 2005 23:48:32 -0500
From:      Jonathan Noack <noackjr@alumni.rice.edu>
To:        Dan Langille <dan@langille.org>
Cc:        freebsd-cvsweb@FreeBSD.org
Subject:   Re: Error: Failed to spawn GNU rlog
Message-ID:  <429BECA0.3050103@alumni.rice.edu>
In-Reply-To: <429B7ED5.1334.25C92A91@localhost>
References:  <429B65B2.852.2566F796@localhost> <429B7ED5.1334.25C92A91@localhost>

next in thread | previous in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 2440 and 3156)
--------------enig5FF931C02FD5604E15B3793B
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit

On 05/30/05 20:00, Dan Langille wrote:
> Let me try again...
> 
> 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 <http://tinyurl.com/csttm>; 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 (this time, with a different command):
> 
> $ sudo -u www rlog /usr/websites/develop.example.org/repository/
> configuration//vhosts.conf.sample,v /usr/websites/develop.example.org/repository/configuration//.
> cvsignore,v
> 
> RCS file: /usr/websites/develop.example.org/repository/configuration//vhosts.conf.sample,v
> Working file: vhosts.conf.sample
> head: 1.8
> branch:
> locks: strict
> access list:
> symbolic names:
>         beta: 1.1.1.1
>         devel: 1.1.1
> keyword substitution: kv
> total revisions: 9;     selected
> ...
> 
> Interesting... [still]

To see what the actual error is, comment out the redirection of STDERR 
on lines 2131 and 2138 (with 2.0.6) and see if you get anything in your 
web server error logs.

Be sure www has read access to all files and directories in the repository.

-- 
Jonathan Noack | noackjr@alumni.rice.edu | OpenPGP: 0x991D8195

--------------enig5FF931C02FD5604E15B3793B
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)

iD8DBQFCm+ylUFz01pkdgZURAqgeAKCNaFw1pCZ78LdGGcmddZp8yeJBuQCfQ00P
rLLXJ1HVTSN33I17XI4ssZo=
=hcmh
-----END PGP SIGNATURE-----

--------------enig5FF931C02FD5604E15B3793B--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?429BECA0.3050103>