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

Re: repository corrupted repeatedly

From: Paul Koning <pkoning_at_equallogic.com>
Date: 2005-09-28 22:46:46 CEST

>>>>> "Will" == Will Glass-Husain <wglass@forio.com> writes:

 Will> More info: When I do a "ps aux" I see that I have 4 httpd
 Will> processes. One runs as root (the initial process)" the others
 Will> as "wwwrun".

 Will> Of course, I have to start as root since this is over port 443.

 Will> Could this be an Apache config issue? Sometimes accessing the
 Will> files with root and sometimes wwwrun? (thus somehow corrupting
 Will> the repository?) If so, ideas on config would be appreciated.

The extra httpd copies are worker threads.

In your httpd.conf you'll see "User" and "Group" lines. The "user"
will say "wwwrun" in your case. But only the worker threads should
ever be doing things, otherwise the whole security benefit of setting
the user ID like that would be lost.

In other words, I would expect that you have to have your repository
set up to be owned by wwwrun. Watch out for accesses by machinery
other than apache -- svnserve, or file:/// URLs. See the fine manual
for a discussion on that topic.

BTW, if Suse insists on shipping such an old version, maybe you need
to use a better source of code than their prebuilt packages. There
are Subversion packages that are up to date, see the "downloads" page
on the Subversion website. I just grabbed some nice 1.2.3 RPM files
from there, which worked as advertised (that was for RedHat of
course).

        paul

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Wed Sep 28 22:48:58 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.