Description of problem: Jan 13 19:50:30 arekh crond[3698]: (nim) Unauthorized SELinux context=unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023 file_context=unconfined_u:object_r:user_cron_spool_t:s0 (/var/spool/cron/nim) Jan 13 19:50:30 arekh crond[3698]: (nim) FAILED (loading cron table) selinux-policy-targeted-3.13.1-13.fc21.noarch cronie-1.4.11-4.fc21.x86_64
Try to turn on the cron_userdomain_transition boolean # setsebool -P cron_userdomain_transition 1
This might be caused by the entrypoint change?
Definitely yes but I believe it is correct and users need to turn on the boolean. It has been adopted from upstream.
Which boolean?
# setsebool -P cron_userdomain_transition 1
Does not work Unauthorized SELinux context=unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023 file_context=unconfined_u:object_r:user_cron_spool_t:s0 (/var/spool/cron/nim) getsebool cron_userdomain_transition cron_userdomain_transition --> on
Ok,taking back. You are right, this boolean does not affect unconfined_t SELinux user.
commit 31456ed1981a7668ab06890151527e42b02a7e2e Author: Miroslav Grepl <mgrepl> Date: Mon Jan 20 09:01:49 2014 +0100 Add cron unconfined role support for uncofined SELinux user