Hide Forgot
Description of problem: We have motion service running as zonemider_t which is probably wrong. Motion should have own policy and zoneminder should just domtrans to motion_t. Version-Release number of selected component (if applicable): How reproducible: Steps to Reproduce: 1. yum install motion 2. chcon -t bin_t `which motion` 3. systemctl start motion Actual results: #============= initrc_t ============== allow initrc_t http_cache_port_t:tcp_socket name_bind; allow initrc_t transproxy_port_t:tcp_socket name_bind; allow initrc_t v4l_device_t:chr_file { read write ioctl open }; Expected results: Motion should run in the motion_t domain. Additional info: Also some rules won't be needed for zoneminder because of a new motion policy.
This sounds like a good suggestion but is also means that the Fedora build will require work to separate the motion code from upstream, as the new upstream version 1.26 has a lot of new code and changes in this area, and the new motion code has performance increases that are worthwhile. I hope this is easy to do as the changes in the new version 1.26 during testing seem to indicate a better package overall. What is required is that any changes made for Fedora be all pushed upstream as info to the Zonealarm Wiki and/or the github repository in the distribution Directory to make it easier for all concerned with the Fedora package. http://www.zoneminder.com/wiki/index.php/Contents#Distribution-specific_guides https://github.com/Zoneminder/Zoneminder
I included motion policy to git repo, so this policy will be included in the new selinux-policy package for rawhide and f20.
selinux-policy-3.12.1-90.fc20 has been submitted as an update for Fedora 20. https://admin.fedoraproject.org/updates/selinux-policy-3.12.1-90.fc20
Package selinux-policy-3.12.1-90.fc20: * should fix your issue, * was pushed to the Fedora 20 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing selinux-policy-3.12.1-90.fc20' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2013-19129/selinux-policy-3.12.1-90.fc20 then log in and leave karma (feedback).
selinux-policy-3.12.1-90.fc20 has been pushed to the Fedora 20 stable repository. If problems still persist, please make note of it in this bug report.