From: František Dvořák Date: Thu, 9 Mar 2017 12:30:29 +0000 (+0100) Subject: Add example SELinux command into Fedora README X-Git-Url: http://scientific.zcu.cz/git/?a=commitdiff_plain;h=b70a6c8263f1acc5e231cf9cf2fcf5db0de09ad0;p=packaging-rpm-NOW.git Add example SELinux command into Fedora README --- diff --git a/README.Fedora b/README.Fedora index 30fa5a1..510c3e0 100644 --- a/README.Fedora +++ b/README.Fedora @@ -4,7 +4,9 @@ Installation systemctl enable httpd service httpd restart -SELinux notes: httpd is allowed to connect to the default OpenNebula RPC port 2633. Different remote port would need to be permitted in SELinux (it works adding the port to 'http_port_t', or enabling 'httpd_can_network_connect' boolean). +SELinux notes: httpd is allowed to connect to the default OpenNebula RPC port 2633. Different remote port would need to be permitted in SELinux (it works adding the port to 'http_port_t', or enabling 'httpd_can_network_connect' boolean). For example (replace $PORT by the RPC port number): + + semanage port -a -t http_port_t -p tcp $PORT Quick test