[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

[Fwd: Re: bad results on compare file versions]

From: Gregory Davis <gregdavis_at_ieee.org>
Date: 2005-05-15 21:34:35 CEST

I'm having a problem using svn over apache in conjunction with websvn, as
per the rest of this message that I sent to the websvn mailing list. I
don't seem to have a problem commiting to a repos over apache, but when
svnlook is invoked by websvn, I get a '/dev/null/.subversion/servers file
doesn not exist' error. That is remedied by giving apache a valid homedir
and a ~/.subversion/servers file. It is not remedied by creating a
/etc/subversion/servers file, as one would expect. Whether it makes a
difference or not, I'd like to run apache with HOME=/dev/null. So how the
heck do I accomplish that?

Thanks,
Greg

---------------------------- Original Message ----------------------------
Subject: Re: bad results on compare file versions
From: "Gregory Davis" <gregdavis@ieee.org>
Date: Sun, May 15, 2005 11:19 am
To: dev@websvn.tigris.org
Cc: gregdavis@ieee.org
--------------------------------------------------------------------------

Well, I have confirmed that svn(-look) is evaluating the $HOME variable
for the apache user, in order to find the "servers" file. I did not have
an /etc/subversion/servers; although creating that file did not work.
What did work was giving apache a valid home directory, with
~/.subversion/servers. I guess I am now asking on the wrong list, but how
do you get svnlook to be satisifed with /etc/subversion/servers, so that
apache can run with $HOME=/dev/null?

Thanks,
Greg

> I have setup my svn repository with apache and can view it at
> http://mars.dynalias.net/svn/motl and commit to it using the svn client
and a URL. It has anonymous access for reads, and the websvn script can
access the repos version log information (as you can see at
> http://mars.dynalias.net/websvn/listing.php?repname=motl&path=%2F&sc=1).
>
> However, I get this oddball error when I either open a file, or try to
compare versions:
>
> svn: Can't open config file '/dev/null/.subversion/servers'
>
> The /dev/null is no doubt an evaluation of the $HOME variable for
apache. I would like to keep apache homeless if possible, so what do I
do?
>
> Thanks,
> Greg
>
> PS, not subscribed, so please CC me in your reply
>
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Sun May 15 23:05:13 2005

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.