Hi
I am running Fedora 23 in enforcing mode, and crond is not loading a root crontab when it is saved by crontab -e. The journal shows the following message when I try to install it.
crond[1594]: (root) FAILED (loading cron table) crond[1594]: (root) 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/root)
There doesn't appear to be any AVC message for this. Does anyone have any suggestions how to fix this. Thanks.
On 01/22/2016 03:52 PM, Lester M Petrie wrote:
Hi
I am running Fedora 23 in enforcing mode, and crond is not loading a root crontab when it is saved by crontab -e. The journal shows the following message when I try to install it.
crond[1594]: (root) FAILED (loading cron table) crond[1594]: (root) 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/root)
There doesn't appear to be any AVC message for this. Does anyone have any suggestions how to fix this. Thanks.
It's a kernel bug [1]. There's already an update [2] which fixes it.
[1] https://bugzilla.redhat.com/show_bug.cgi?id=1298192 [2] https://bodhi.fedoraproject.org/updates/FEDORA-2016-b59fd603be
Petr
selinux@lists.fedoraproject.org