Bug 681127
| Summary: | SELinux is preventing systemd-readahe from 'write' accesses on the directory /var/spool/cron. | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Lukas Bezdicka <social> |
| Component: | selinux-policy | Assignee: | Miroslav Grepl <mgrepl> |
| Status: | CLOSED DUPLICATE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | medium | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 15 | CC: | dwalsh, mgrepl |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | x86_64 | ||
| OS: | Linux | ||
| Whiteboard: | setroubleshoot_trace_hash:e5df2b6ec629005b55eca09ca612f0ad4095cc7a3e878b90918f4a649d3b3e51 | ||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2011-03-01 12:28:43 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
You can try to install the latest F15 policy from koji for now http://koji.fedoraproject.org/koji/buildinfo?buildID=230829 *** This bug has been marked as a duplicate of bug 669672 *** |
SELinux is preventing systemd-readahe from 'write' accesses on the directory /var/spool/cron. ***** Plugin catchall (100. confidence) suggests *************************** If you believe that systemd-readahe should be allowed write access on the cron directory by default. Then you should report this as a bug. You can generate a local policy module to allow this access. Do allow this access for now by executing: # grep systemd-readahe /var/log/audit/audit.log | audit2allow -M mypol # semodule -i mypol.pp Additional Information: Source Context system_u:system_r:readahead_t:s0 Target Context system_u:object_r:cron_spool_t:s0 Target Objects /var/spool/cron [ dir ] Source systemd-readahe Source Path systemd-readahe Port <Unknown> Host (removed) Source RPM Packages Target RPM Packages cronie-1.4.6-9.fc15 Policy RPM selinux-policy-3.9.15-2.fc15 Selinux Enabled True Policy Type targeted Enforcing Mode Permissive Host Name (removed) Platform Linux (removed) 2.6.38-0.rc6.git4.1.fc15.x86_64 #1 SMP Fri Feb 25 03:46:42 UTC 2011 x86_64 x86_64 Alert Count 1 First Seen Tue 01 Mar 2011 08:45:14 AM CET Last Seen Tue 01 Mar 2011 08:45:14 AM CET Local ID 363209a8-6bfa-4d08-beeb-59656df5a51d Raw Audit Messages type=AVC msg=audit(1298965514.220:27): avc: denied { write } for pid=335 comm="systemd-readahe" path="/var/spool/cron" dev=sda2 ino=24582 scontext=system_u:system_r:readahead_t:s0 tcontext=system_u:object_r:cron_spool_t:s0 tclass=dir Hash: systemd-readahe,readahead_t,cron_spool_t,dir,write audit2allow #============= readahead_t ============== #!!!! The source type 'readahead_t' can write to a 'dir' of the following types: # readahead_var_lib_t, readahead_var_run_t, root_t, device_t, var_run_t, root_t allow readahead_t cron_spool_t:dir write; audit2allow -R #============= readahead_t ============== #!!!! The source type 'readahead_t' can write to a 'dir' of the following types: # readahead_var_lib_t, readahead_var_run_t, root_t, device_t, var_run_t, root_t allow readahead_t cron_spool_t:dir write;