Bug 1547368
| Summary: | Unable to run cron jobs from /etc/crontab due to selinux | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Robin <robin.bjorklin> |
| Component: | selinux-policy | Assignee: | Lukas Vrabec <lvrabec> |
| Status: | CLOSED DUPLICATE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | low | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 27 | CC: | dwalsh, lvrabec, mgrepl, plautrba, pmoore, robin.bjorklin, tmraz |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | x86_64 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2018-09-05 15:45:25 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
|
Description
Robin
2018-02-21 07:20:31 UTC
Robin, Hi, Avc msgs is not complete. Could you reproduce it and attach output of: # ausearch -m AVC -m USER_AVC -ts recent Thanks, Lukas. So... Running ausearch doesn't produce any information just after cron should have run the job. I am on the other hand very sure it's selinux causing this issue since running `setenforce 0` makes the problem go away. Any other way I can provide useful information? Robin, Could you change parameter "-ts today" and send me logs? # ausearch -m AVC -m USER_AVC -ts today THanks, Lukas. Could we continue with solving this in rhbz#1625645 ? Closing this as duplicate *** This bug has been marked as a duplicate of bug 1625645 *** Robin, did you try to restorecon -Fv /etc/crontab ? It seems it has a wrong context. Thanks Tomas! That solved the issue! |