On 06/12/2014 10:14 AM, Richard Shaw
wrote:
I think your post install should look like. /usr/sbin/semanage fcontext -e /var/log/mongod
"/var/lib/unifi/logs"
/usr/sbin/semanage fcontext -e /var/lib/mongod
"/var/lib/unifi/data"
/usr/sbin/semanage port -m -t mongod_port_t 27117
Don't use the regex. Also I would figure the logs should be labeled mongod_log_t rather then mongod_lib_t. If this is a standard location for this code, we should put it into the base package. |
-- users mailing list users@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe or change subscription options: https://admin.fedoraproject.org/mailman/listinfo/users Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines Have a question? Ask away: http://ask.fedoraproject.org