Red Hat Bugzilla – Bug 1298816
failed loading cron table
Last modified: 2016-01-15 08:57:30 EST
Description of problem: After last bash and kernel update (bash, 4.3.42-3.fc23/kernel 4.2.8-300.fc23 - maybe it's a bash or kernel bug) no cron job will be started anymore if selinux is enforced. This happened on a server which updates itself automaticly and worked untill Jan 13, 2016 normally.
There are a lot of error messages now, like:
nauthorized 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)
FAILED (loading cron table)
SELinux must be set to permissable if any cron jobs should be executed.
No changes whatsoever were made to the system but the 2 updates of kernel and bash. System worked absolutely until Jan 13, 2016. Only update since then was bash and kernel, x86_64, 4.2.8-300.fc23.
Version-Release number of selected component (if applicable): bash, x86_64, 4.3.42-3.fc23 and kernel, x86_64, 4.2.8-300.fc23
# seinfo -cron_t
ERROR: could not find class ron_t
# sesearch -A -s cron_t
ERROR: could not find datum for type cron_t
# grep systemd /var/log/audit/audit.log | audit2allow -M mypol
mypol.te:6:ERROR 'syntax error' at token '' on line 6:
/usr/bin/checkmodule: error(s) encountered while parsing configuration
/usr/bin/checkmodule: loading policy configuration from mypol.te
*** This bug has been marked as a duplicate of bug 1298192 ***