| Summary: | SELinux is preventing systemd-readahe from 'write' accesses on the directory /etc/X11/xinit/xinput.d. | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | yunustj |
| Component: | selinux-policy | Assignee: | Miroslav Grepl <mgrepl> |
| Status: | CLOSED DUPLICATE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | medium | Docs Contact: | |
| Priority: | medium | ||
| Version: | 15 | CC: | dwalsh, mgrepl |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | x86_64 | ||
| OS: | Linux | ||
| Whiteboard: | setroubleshoot_trace_hash:5f6cb33effd1816761fa868a751ffc880aa8c40afdb81c5b266b15c24c2d480c | ||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2011-03-07 10:05:16 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
*** This bug has been marked as a duplicate of bug 682383 *** |
SELinux is preventing systemd-readahe from 'write' accesses on the directory /etc/X11/xinit/xinput.d. ***** Plugin catchall (100. confidence) suggests *************************** If you believe that systemd-readahe should be allowed write access on the xinput.d 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:bin_t:s0 Target Objects /etc/X11/xinit/xinput.d [ dir ] Source systemd-readahe Source Path systemd-readahe Port <Unknown> Host (removed) Source RPM Packages Target RPM Packages imsettings-1.2.0-1.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.git6.1.fc15.x86_64 #1 SMP Sat Feb 26 01:14:56 UTC 2011 x86_64 x86_64 Alert Count 9 First Seen Sat 05 Mar 2011 01:59:17 PM WIT Last Seen Sat 05 Mar 2011 07:10:50 PM WIT Local ID 86c93c2d-bbee-4b26-8973-a0fd47400668 Raw Audit Messages type=AVC msg=audit(1299327050.842:93): avc: denied { write } for pid=520 comm="systemd-readahe" path="/etc/X11/xinit/xinput.d" dev=dm-1 ino=33790 scontext=system_u:system_r:readahead_t:s0 tcontext=system_u:object_r:bin_t:s0 tclass=dir Hash: systemd-readahe,readahead_t,bin_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 bin_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 bin_t:dir write;