summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWill Woods <wwoods@redhat.com>2009-03-04 18:55:54 -0500
committerWill Woods <wwoods@redhat.com>2009-03-04 18:55:54 -0500
commit6a45d61b1fb139cc4a44c431f658de4a841b2b0c (patch)
treef78dbbdb50d7b1c4468bf4026d27c02013393dd5
parent80a3805e56a63001d5d2ae3fe2288f5f54f04b71 (diff)
downloaddebuginfofs-6a45d61b1fb139cc4a44c431f658de4a841b2b0c.tar.gz
debuginfofs-6a45d61b1fb139cc4a44c431f658de4a841b2b0c.tar.xz
debuginfofs-6a45d61b1fb139cc4a44c431f658de4a841b2b0c.zip
Fixups for using davfs2 + special httpd service
-rw-r--r--dav-debuginfo.conf4
-rw-r--r--debuginfofs.spec1
-rw-r--r--debuginfofs.sysconfig2
3 files changed, 5 insertions, 2 deletions
diff --git a/dav-debuginfo.conf b/dav-debuginfo.conf
index b31aa7d..c41c02f 100644
--- a/dav-debuginfo.conf
+++ b/dav-debuginfo.conf
@@ -9,7 +9,9 @@ LogLevel crit
ErrorLog /var/log/debuginfofs-server.log
# I had this idea on March 3 2009, so... 3309
Listen 3309
-DAVLockDB lock
+# XXX maybe we should have a special debuginfofs user for this?
+User nobody
+#DAVLockDB lock
LimitXMLRequestBody 100000
diff --git a/debuginfofs.spec b/debuginfofs.spec
index 7e5b60f..6fd2bb0 100644
--- a/debuginfofs.spec
+++ b/debuginfofs.spec
@@ -45,6 +45,7 @@ rm -rf $RPM_BUILD_ROOT
mkdir -p $RPM_BUILD_ROOT{%{_initrddir},/etc/sysconfig}
install -m 0755 debuginfofs.init $RPM_BUILD_ROOT%{_initrddir}/debuginfofs
install -m 0644 debuginfofs.sysconfig $RPM_BUILD_ROOT/etc/sysconfig/debuginfofs
+install -m 0644 davfs2-debuginfofs.conf $RPM_BUILD_ROOT/etc/davfs2
# server
mkdir -p $RPM_BUILD_ROOT{/usr/share/debuginfofs,/usr/sbin}
mkdir -p $RPM_BUILD_ROOT/var/{www,cache}/debuginfofs
diff --git a/debuginfofs.sysconfig b/debuginfofs.sysconfig
index bf821f9..0ff5f48 100644
--- a/debuginfofs.sysconfig
+++ b/debuginfofs.sysconfig
@@ -1,6 +1,6 @@
# You will need to set this to the correct hostname
DEBUGINFOFS_SERVER="test1085.test.redhat.com"
# You shouldn't need to edit these under normal circumstances
-BUILDID_URL="http://$DEBUGINFOFS_SERVER/debuginfofs/build-id/"
+BUILDID_URL="http://$DEBUGINFOFS_SERVER:3309/build-id/"
BUILDID_MOUNTPOINT="/usr/lib/debug/.build-id"
MOUNT_ARGS=""