| Summary: | SELinux is preventing /usr/libexec/colord from 'module_request' accesses on the system Unknown. | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Eric Blake <eblake> |
| Component: | selinux-policy | Assignee: | Miroslav Grepl <mgrepl> |
| Status: | CLOSED RAWHIDE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | medium | Docs Contact: | |
| Priority: | medium | ||
| Version: | rawhide | CC: | dominick.grift, dwalsh, hkmtrhah, mgrepl |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | x86_64 | ||
| OS: | Linux | ||
| Whiteboard: | setroubleshoot_trace_hash:fedbc01894ee9393de559a3911079bdbed6b08d2b03374a03578cf58aced58fd | ||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2011-05-23 16:21:00 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
I added a fix for this issue here http://git.fedorahosted.org/git/?p=selinux-policy.git;a=commitdiff;h=47f189ebf5d38566a93dc4a78e1a858c462c2f7c If approved it should be hitting your repository soon Looks good. Miroslav probably need this in F15 also. Added. |
SELinux is preventing /usr/libexec/colord from 'module_request' accesses on the system Unknown. ***** Plugin catchall_boolean (89.3 confidence) suggests ******************* If you want to allow all domains to have the kernel load modules Then you must tell SELinux about this by enabling the 'domain_kernel_load_modules' boolean. Do setsebool -P domain_kernel_load_modules 1 ***** Plugin catchall (11.6 confidence) suggests *************************** If you believe that colord should be allowed module_request access on the Unknown system 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 colord /var/log/audit/audit.log | audit2allow -M mypol # semodule -i mypol.pp Additional Information: Source Context system_u:system_r:colord_t:s0-s0:c0.c1023 Target Context system_u:system_r:kernel_t:s0 Target Objects Unknown [ system ] Source colord Source Path /usr/libexec/colord Port <Unknown> Host (removed) Source RPM Packages colord-0.1.7-1.fc16 Target RPM Packages Policy RPM selinux-policy-3.9.16-22.fc16 Selinux Enabled True Policy Type targeted Enforcing Mode Enforcing Host Name (removed) Platform Linux (removed) 2.6.39-1.fc16.x86_64 #1 SMP Sat May 21 02:34:01 UTC 2011 x86_64 x86_64 Alert Count 2 First Seen Mon 23 May 2011 09:41:29 AM MDT Last Seen Mon 23 May 2011 09:41:29 AM MDT Local ID 64208a0d-c001-462d-9312-a0c75c5a8cdb Raw Audit Messages type=AVC msg=audit(1306165289.887:55): avc: denied { module_request } for pid=1878 comm="colord" kmod="char-major-6-3" scontext=system_u:system_r:colord_t:s0-s0:c0.c1023 tcontext=system_u:system_r:kernel_t:s0 tclass=system type=SYSCALL msg=audit(1306165289.887:55): arch=x86_64 syscall=open success=no exit=ENXIO a0=7fff0e4d4820 a1=100 a2=7fff0e4d4828 a3=7fff0e4d4630 items=0 ppid=1 pid=1878 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=4294967295 comm=colord exe=/usr/libexec/colord subj=system_u:system_r:colord_t:s0-s0:c0.c1023 key=(null) Hash: colord,colord_t,kernel_t,system,module_request audit2allow #============= colord_t ============== #!!!! This avc can be allowed using the boolean 'domain_kernel_load_modules' allow colord_t kernel_t:system module_request; audit2allow -R #============= colord_t ============== #!!!! This avc can be allowed using the boolean 'domain_kernel_load_modules' allow colord_t kernel_t:system module_request;