Summary: | Problems with crontabs and selinux users | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Chris PeBenito (RETIRED) <pebenito> |
Component: | Hardened | Assignee: | SE Linux Bugs <selinux> |
Status: | VERIFIED FIXED | ||
Severity: | major | ||
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Chris PeBenito (RETIRED)
![]() Example error log message: cron[20642]: (root) ENTRYPOINT FAILED (crontabs/root) If you are trying to fix up your cron on v2refpolicy, make sure your crontab file has the right context: ls -Z /var/spool/cron/crontabs/[username] it should have the context: [seuser]:object_r:user_cron_spool_t where the seuser is the one that is mapped to the linux user (see 'semanage login -l' for mappings). So for example, the root crontab should have the root seuser on the crontab file, for the default SELinux user mapping. |