summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--README10
-rw-r--r--debuginfofs.spec2
2 files changed, 8 insertions, 4 deletions
diff --git a/README b/README
index 8e18029..33c0c3d 100644
--- a/README
+++ b/README
@@ -1,4 +1,4 @@
-Fetching data for a debuginfofs server: the easy way
+Fetching data for a debuginfofs server
1) Edit /etc/debuginfofs.conf (if needed)
2) run debuginfofs-mirror REPO [REPO...]
- Note: if you're on EL5 and you want rawhide/F11 debuginfo you might need
@@ -7,9 +7,11 @@ Fetching data for a debuginfofs server: the easy way
http://http://skvidal.fedorapeople.org/hashlib/
Running the debuginfofs server
-1) vi /etc/httpd/conf.d/dav-debuginfo.conf
- - Make sure the Alias line matches exportdir in config.sh
-2) service httpd start
+1) service debuginfofs-server start
+- You might want to edit /usr/share/debuginfofs/dav-debuginfo.conf
+- If you're running SELinux you'll need to allow httpd to access port 3309.
+ The package %post script handles this, or you can do it yourself:
+ /usr/sbin/semanage port -a -S targeted -t http_port_t -p tcp 3309
Some rough stats about disk usage:
- F10 i386+x86_64 full debuginfo stats:
diff --git a/debuginfofs.spec b/debuginfofs.spec
index 23d3cbc..5d82db0 100644
--- a/debuginfofs.spec
+++ b/debuginfofs.spec
@@ -73,11 +73,13 @@ fi
%post server
/sbin/chkconfig --add debuginfofs-server
+/usr/sbin/semanage port -a -S targeted -t http_port_t -p tcp 3309 &> /dev/null || :
%preun server
if [ "$1" == "0" ] ; then
/sbin/service debuginfofs-server stop >/dev/null 2>&1
/sbin/chkconfig --del debuginfofs-server
fi
+/usr/sbin/semanage port -d -t http_port_t -p tcp 3309 &> /dev/null || :
%postun server
if [ "$1" -ge "1" ] ; then
/sbin/service debuginfofs-server condrestart >/dev/null 2>&1 || :