| Summary: | SELinux is preventing /usr/libexec/colord from 'read' accesses on the file fstab. | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Benjamin Kingston <ACiDGRiM> |
| Component: | selinux-policy | Assignee: | Miroslav Grepl <mgrepl> |
| Status: | CLOSED NOTABUG | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 16 | CC: | dominick.grift, dwalsh, mgrepl |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | x86_64 | ||
| OS: | Unspecified | ||
| Whiteboard: | abrt_hash:b8bc086dec84ff5383fc5298b1c1d9a7fd6035334fc1c9a5b7221db54194a11a | ||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2011-12-18 20:37:17 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
Not sure how your fstab got this mislabeling. # restorecon -R -v /etc/fstab will fix. Any idea? Did you change the /etc/fstab label? |
libreport version: 2.0.8 executable: /usr/bin/python hashmarkername: setroubleshoot kernel: 3.1.5-2.fc16.x86_64 reason: SELinux is preventing /usr/libexec/colord from 'read' accesses on the file fstab. time: Fri 16 Dec 2011 08:28:20 PM MST description: :SELinux is preventing /usr/libexec/colord from 'read' accesses on the file fstab. : :***** Plugin catchall (100. confidence) suggests *************************** : :If you believe that colord should be allowed read access on the fstab file 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:object_r:root_t:s0 :Target Objects fstab [ file ] :Source colord :Source Path /usr/libexec/colord :Port <Unknown> :Host (removed) :Source RPM Packages colord-0.1.15-1.fc16 :Target RPM Packages :Policy RPM selinux-policy-3.10.0-64.fc16 :Selinux Enabled True :Policy Type targeted :Enforcing Mode Enforcing :Host Name (removed) :Platform Linux (removed) : 3.1.5-2.fc16.x86_64 #1 SMP Mon Dec 12 21:25:51 UTC : 2011 x86_64 x86_64 :Alert Count 1 :First Seen Fri 16 Dec 2011 08:23:38 PM MST :Last Seen Fri 16 Dec 2011 08:23:38 PM MST :Local ID d71ea433-c8d0-4184-b3f4-2234ff5967a9 : :Raw Audit Messages :type=AVC msg=audit(1324092218.608:87): avc: denied { read } for pid=2288 comm="colord" name="fstab" dev=dm-1 ino=336 scontext=system_u:system_r:colord_t:s0-s0:c0.c1023 tcontext=system_u:object_r:root_t:s0 tclass=file : : :type=SYSCALL msg=audit(1324092218.608:87): arch=x86_64 syscall=open success=no exit=EACCES a0=7f10d7d47ea1 a1=0 a2=1b6 a3=238 items=0 ppid=1 pid=2288 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,root_t,file,read : :audit2allow : :#============= colord_t ============== :allow colord_t root_t:file read; : :audit2allow -R : :#============= colord_t ============== :allow colord_t root_t:file read; :