Mercurial > hg > freeDiameter
changeset 617:c16583e80ffe
Update documentation for Fedora systems where SELinux prevents binding the SCTP socket
author | Sebastien Decugis <sdecugis@nict.go.jp> |
---|---|
date | Fri, 03 Dec 2010 15:00:30 +0900 |
parents | f2791162c1f2 |
children | 1dbc4c5397d6 |
files | INSTALL.Fedora contrib/nightly_tests/README contrib/nightly_tests/prereqs.fedora |
diffstat | 3 files changed, 11 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/INSTALL.Fedora Fri Dec 03 14:31:08 2010 +0900 +++ b/INSTALL.Fedora Fri Dec 03 15:00:30 2010 +0900 @@ -31,6 +31,10 @@ # cmake .. # make +NOTE: You may need to change something in SELinux to allow binding the SCTP socket on Diameter port. +The following command is the very naive way to do it, you can probably do better (feedback appreciated!) +# setenforce Permissive + There is currently no Fedora-specific package for freeDiameter. You are welcome to contribute packaging scripts! Please contact with
--- a/contrib/nightly_tests/README Fri Dec 03 14:31:08 2010 +0900 +++ b/contrib/nightly_tests/README Fri Dec 03 15:00:30 2010 +0900 @@ -28,6 +28,9 @@ d) Fedora: $ sudo yum install wget $ sudo yum install `wget http://www.freediameter.net/hg/freeDiameter/raw-file/tip/contrib/nightly_tests/prereqs.fedora -O - | grep -v -e "^#"` + + You may also have issues with SELinux later, an easy workaround is to disable it (until better solution) + # setenforce Permissive 2) Create the "test" database for app_acct test (we assume the tests are run as user "test" here)
--- a/contrib/nightly_tests/prereqs.fedora Fri Dec 03 14:31:08 2010 +0900 +++ b/contrib/nightly_tests/prereqs.fedora Fri Dec 03 15:00:30 2010 +0900 @@ -8,3 +8,7 @@ # For postgresql server to start automatically, you may have to issue: # service postgresql initdb # chkconfig --level 345 postgresql on + +# To allow SCTP sockets to be bound in SELinux, I don't know the command, +# so let's disable SELinux for the moment: +# setenforce Permissive