-
Notifications
You must be signed in to change notification settings - Fork 62
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
SELinux prevents Apache from reading its crontab #2
Comments
Here are all the relevant log entries collected from
The same aggregated information, but in a more readable format, using
|
To generate a SELinux policy module for all these rules: $ grep cron /var/log/audit/audit.log | audit2allow -M httpd_crontab
******************** IMPORTANT ***********************
To make this policy package active, execute:
semodule -i httpd_crontab.pp Resulting files:
To install the policy module: $ semodule -i httpd_crontab.pp (Please note that this can take some dozens of seconds.) |
Error that CronKeep reports:
Somebody else encountered this error:
http://stackoverflow.com/questions/10706031/var-spool-cron-is-not-a-directory-bailing-out-when-trying-to-work-with-cron
We should better handle this situation (inform the user and present options).
Error originally found on CentOS 6.4, PHP 5.3.25.
The text was updated successfully, but these errors were encountered: