| Summary: | SELinux is preventing /usr/libexec/telepathy-gabble from 'getattr' accesses on the file /home/newman/.cache/telepathy/gabble/caps-cache.db. | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Michal Nowak <mnowak> |
| Component: | selinux-policy | Assignee: | Miroslav Grepl <mgrepl> |
| Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | medium | Docs Contact: | |
| Priority: | medium | ||
| Version: | 15 | CC: | dwalsh, mgrepl, ohudlick |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | i386 | ||
| OS: | Linux | ||
| Whiteboard: | setroubleshoot_trace_hash:6870d221687d2c186b830806c191da63b191cfe2656f455eca7f0030a240d51c | ||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2011-05-06 05:04: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: | |
Fixed in the latest selinux-policy ( -21 release) |
SELinux is preventing /usr/libexec/telepathy-gabble from 'getattr' accesses on the file /home/newman/.cache/telepathy/gabble/caps-cache.db. ***** Plugin restorecon (99.5 confidence) suggests ************************* If you want to fix the label. /home/newman/.cache/telepathy/gabble/caps-cache.db default label should be telepathy_gabble_cache_home_t. Then you can run restorecon. Do # /sbin/restorecon -v /home/newman/.cache/telepathy/gabble/caps-cache.db ***** Plugin catchall (1.49 confidence) suggests *************************** If you believe that telepathy-gabble should be allowed getattr access on the caps-cache.db 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 telepathy-gabbl /var/log/audit/audit.log | audit2allow -M mypol # semodule -i mypol.pp Additional Information: Source Context unconfined_u:unconfined_r:telepathy_gabble_t:s0-s0 :c0.c1023 Target Context unconfined_u:object_r:cache_home_t:s0 Target Objects /home/newman/.cache/telepathy/gabble/caps-cache.db [ file ] Source telepathy-gabbl Source Path /usr/libexec/telepathy-gabble Port <Unknown> Host (removed) Source RPM Packages telepathy-gabble-0.12.0-1.fc15 Target RPM Packages Policy RPM selinux-policy-3.9.16-18.fc15 Selinux Enabled True Policy Type targeted Enforcing Mode Enforcing Host Name (removed) Platform Linux (removed) 2.6.38.4-20.fc15.i686 #1 SMP Thu Apr 28 23:45:59 UTC 2011 i686 i686 Alert Count 1 First Seen Thu 05 May 2011 07:08:36 PM CEST Last Seen Thu 05 May 2011 07:08:36 PM CEST Local ID c46913ec-0d20-41d8-9049-0fa25c1b7f11 Raw Audit Messages type=AVC msg=audit(1304615316.839:81): avc: denied { getattr } for pid=2421 comm="telepathy-gabbl" path="/home/newman/.cache/telepathy/gabble/caps-cache.db" dev=dm-6 ino=1576607 scontext=unconfined_u:unconfined_r:telepathy_gabble_t:s0-s0:c0.c1023 tcontext=unconfined_u:object_r:cache_home_t:s0 tclass=file type=SYSCALL msg=audit(1304615316.839:81): arch=i386 syscall=stat64 success=no exit=EACCES a0=8ae44e8 a1=bff37b00 a2=106dff4 a3=1 items=0 ppid=2420 pid=2421 auid=501 uid=501 gid=501 euid=501 suid=501 fsuid=501 egid=501 sgid=501 fsgid=501 tty=(none) ses=1 comm=telepathy-gabbl exe=/usr/libexec/telepathy-gabble subj=unconfined_u:unconfined_r:telepathy_gabble_t:s0-s0:c0.c1023 key=(null) Hash: telepathy-gabbl,telepathy_gabble_t,cache_home_t,file,getattr audit2allow #============= telepathy_gabble_t ============== allow telepathy_gabble_t cache_home_t:file getattr; audit2allow -R #============= telepathy_gabble_t ============== allow telepathy_gabble_t cache_home_t:file getattr;