Error: Failed to spawn GNU rlog

Jonathan Noack noackjr at alumni.rice.edu
Mon May 30 18:16:35 PDT 2005


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 <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:
> 
> $ 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 at alumni.rice.edu | OpenPGP: 0x991D8195
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 187 bytes
Desc: OpenPGP digital signature
Url : http://lists.freebsd.org/pipermail/freebsd-cvsweb/attachments/20050530/0e2a4c3e/signature.bin


More information about the freebsd-cvsweb mailing list