Without the following policy change: Jul 19 19:02:01 basti /USR/SBIN/CROND[8183]: (root) CMD (echo cron test) Jul 19 19:02:01 basti /USR/SBIN/CROND[8183]: (CRON) ERROR chdir failed (/root): Permission denied Jul 19 19:03:01 basti /USR/SBIN/CROND[8196]: (root) CMD (echo cron test) Jul 19 19:03:01 basti /USR/SBIN/CROND[8196]: (CRON) ERROR chdir failed (/root): Permission denied The policy: module mycrond 1.0; require { type chkpwd_t; type admin_home_t; type crond_t; class process { siginh noatsecure rlimitinh }; class dir search; } #============= crond_t ============== #!!!! This avc can be allowed using the boolean 'allow_polyinstantiation' allow crond_t admin_home_t:dir search;
Miroslav lets just add userdom_list_admin_dir(crond_t)
Fixed in selinux-policy-3.9.16-36.fc15
Any idea when this will reach updates-testing? Sorry, I'm unclear on the process there. -Robin
Yes, I am going to do a new build and submit it as a new update. You can donwload this release from koji http://koji.fedoraproject.org/koji/buildinfo?buildID=255858
That seems to do the trick; thanks! -Robin
selinux-policy-3.9.16-37.fc15 has been submitted as an update for Fedora 15. https://admin.fedoraproject.org/updates/selinux-policy-3.9.16-37.fc15
Package selinux-policy-3.9.16-37.fc15: * should fix your issue, * was pushed to the Fedora 15 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.9.16-37.fc15' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/selinux-policy-3.9.16-37.fc15 then log in and leave karma (feedback).
Package selinux-policy-3.9.16-38.fc15: * should fix your issue, * was pushed to the Fedora 15 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.9.16-38.fc15' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/selinux-policy-3.9.16-38.fc15 then log in and leave karma (feedback).
selinux-policy-3.9.16-38.fc15 has been pushed to the Fedora 15 stable repository. If problems still persist, please make note of it in this bug report.