https://bugzilla.redhat.com/show_bug.cgi?id=1203018



--- Comment #2 from Marcin Haba <marcin.h...@bacula.pl> ---
Here are commands to make Baculum working with SELinux policies:

# semanage port -a -t http_port_t -p tcp 9095
# semanage fcontext -a -t httpd_sys_rw_content_t
"/usr/share/baculum/htdocs/assets(/.*)?"
# restorecon "/usr/share/baculum/htdocs/assets"
# semanage fcontext -a -t httpd_sys_rw_content_t
"/usr/share/baculum/htdocs/protected/Data(/.*)?"
# restorecon /usr/share/baculum/htdocs/protected/Data
# semanage fcontext -a -t httpd_sys_rw_content_t
"/usr/share/baculum/htdocs/protected/logs(/.*)?"
# restorecon /usr/share/baculum/htdocs/protected/logs
# semanage fcontext -a -t httpd_sys_rw_content_t
"/usr/share/baculum/htdocs/protected/runtime(/.*)?"
# restorecon /usr/share/baculum/htdocs/protected/runtime
# chcon -t httpd_user_content_rw_t
/usr/share/baculum/htdocs/protected/Data/baculum.users
# chcon -t httpd_user_content_rw_t /etc/baculum/baculum.users
# setsebool -P httpd_can_network_connect 1

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are always notified about changes to this product and component
_______________________________________________
package-review mailing list
package-review@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/package-review

Reply via email to