Cron after upgrade (FC6 -> FC8)
Jouni Viikari
jouni at viikarit.com
Mon Nov 19 18:41:29 UTC 2007
Is it possible to run crontab job as a root any more on FC8? I get this
in /var/log/cron and job is not run:
... crond[2511]: (root) Unauthorized SELinux context (cron/root)
Thanks,
Jouni
# ls -lZ /var/spool/cron/
-rw------- root root system_u:object_r:unconfined_cron_spool_t root
# rpm -qa | grep selinux-policy-targeted
selinux-policy-targeted-3.0.8-53.fc8
I just tried my luck (just guessing):
# chcon -t sysadm_crond_t /var/spool/cron/root
chcon: failed to change context of /var/spool/cron/root to
system_u:object_r:sysadm_crond_t: Permission denied
More information about the fedora-selinux-list
mailing list