| Summary: | SELinux is preventing /usr/libexec/telepathy-gabble from 'write' accesses on the directory /home/adrin/.cache/telepathy/gabble. | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Adrin Jalali <adrin.jalali> |
| 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:e49d9974e313ada05cfa3730dcfada461326f45b49702a658c20b48fcb0e2e5b | ||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2011-04-29 16:45:15 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 700851 *** |
SELinux is preventing /usr/libexec/telepathy-gabble from 'write' accesses on the directory /home/adrin/.cache/telepathy/gabble. ***** Plugin restorecon (94.8 confidence) suggests ************************* If you want to fix the label. /home/adrin/.cache/telepathy/gabble default label should be telepathy_gabble_cache_home_t. Then you can run restorecon. Do # /sbin/restorecon -v /home/adrin/.cache/telepathy/gabble ***** Plugin catchall_labels (5.21 confidence) suggests ******************** If you want to allow telepathy-gabble to have write access on the gabble directory Then you need to change the label on /home/adrin/.cache/telepathy/gabble Do # semanage fcontext -a -t FILE_TYPE '/home/adrin/.cache/telepathy/gabble' where FILE_TYPE is one of the following: tmp_t, telepathy_gabble_cache_home_t, telepathy_gabble_tmp_t, cache_home_t. Then execute: restorecon -v '/home/adrin/.cache/telepathy/gabble' ***** Plugin catchall (1.44 confidence) suggests *************************** If you believe that telepathy-gabble should be allowed write access on the gabble 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 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:mnt_t:s0 Target Objects /home/adrin/.cache/telepathy/gabble [ dir ] 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.3-18.fc15.x86_64 #1 SMP Fri Apr 22 13:24:23 UTC 2011 x86_64 x86_64 Alert Count 3 First Seen Fri 29 Apr 2011 02:42:20 PM IRDT Last Seen Fri 29 Apr 2011 06:04:33 PM IRDT Local ID c0ccc887-8a84-4954-aa99-13fb76a6bb21 Raw Audit Messages type=AVC msg=audit(1304084073.737:64): avc: denied { write } for pid=1888 comm="telepathy-gabbl" name="gabble" dev=sda6 ino=3801755 scontext=unconfined_u:unconfined_r:telepathy_gabble_t:s0-s0:c0.c1023 tcontext=unconfined_u:object_r:mnt_t:s0 tclass=dir type=SYSCALL msg=audit(1304084073.737:64): arch=x86_64 syscall=unlink success=no exit=EACCES a0=2959120 a1=7fff0e834340 a2=7fff0e834340 a3=1 items=0 ppid=1887 pid=1888 auid=500 uid=500 gid=500 euid=500 suid=500 fsuid=500 egid=500 sgid=500 fsgid=500 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,mnt_t,dir,write audit2allow #============= telepathy_gabble_t ============== #!!!! The source type 'telepathy_gabble_t' can write to a 'dir' of the following types: # tmp_t, telepathy_gabble_cache_home_t, telepathy_gabble_tmp_t, cache_home_t allow telepathy_gabble_t mnt_t:dir write; audit2allow -R #============= telepathy_gabble_t ============== #!!!! The source type 'telepathy_gabble_t' can write to a 'dir' of the following types: # tmp_t, telepathy_gabble_cache_home_t, telepathy_gabble_tmp_t, cache_home_t allow telepathy_gabble_t mnt_t:dir write;