<< June 10, 2005 | Home | June 12, 2005 >>

Trouble With Subversion

I have encountered a problem with my use of Subversion. The Subversion 1.1.4 (r13838) server is running on a Fedora Core 3 Linux machine up2date-ed on a daily basis.

From another machine, I was able to do svn status, svn add, but was unable to do svn commit or svn up.

The error message I've gotten is:

[root@gao blog]# svn commit -m "Updated blogs"
svn: Commit failed (details follow):
svn: OPTIONS request failed on '/svn/trunk/blog'
svn:
Could not open the requested SVN filesystem

I'm using mod_dav_svn to connect to Subversion through Apache httpd. I haven't changed any settings lately.

If you have encountered similar situations I'd appreciate it if you can give me a hint. Meanwhile, I'll try to diagnose the problem myself and let you know what I found out. Hopefully soon.

[Update: The problem seems to be SELinux related. I'm seeing lines like the following in my system logs:

Jun 11 16:12:55 gao-2004 kernel: audit(1118524375.759:0): avc:  denied  { write
} for  pid=3970 exe=/usr/sbin/httpd name=__db.001 dev=hda3 ino=32791 scontext=us
er_u:system_r:httpd_t tcontext=root:object_r:httpd_sys_content_t tclass=file

The system did receive an updated selinux-policy-targeted-1.17.30-3.2 earlier today.]