| Summary: | SELinux is preventing /usr/libexec/totem-plugin-viewer from 'unlink' accesses on the file registry.x86_64.bin. | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | John Watzke <watzkej> |
| Component: | selinux-policy | Assignee: | Miroslav Grepl <mgrepl> |
| Status: | CLOSED NOTABUG | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | medium | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | rawhide | CC: | dwalsh, flokip, greenrd, icj, me, mgrepl, ramayu_sr17, scampa.giovanni, stickster |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | x86_64 | ||
| OS: | Linux | ||
| Whiteboard: | setroubleshoot_trace_hash:3020c4ad6466270efecd13e686b5d1256712ab15e65e57922f5d35528c37184e | ||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2011-02-16 15:58:27 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 got this AVC denial by simply starting up and using totem. Could you try to run restorecon on your home dir # restorecon -R -v ~/ and please reopen if this happens again. Thank you. |
SELinux is preventing /usr/libexec/totem-plugin-viewer from 'unlink' accesses on the file registry.x86_64.bin. ***** Plugin catchall (100. confidence) suggests *************************** If you believe that totem-plugin-viewer should be allowed unlink access on the registry.x86_64.bin 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 totem-plugin-vi /var/log/audit/audit.log | audit2allow -M mypol # semodule -i mypol.pp Additional Information: Source Context unconfined_u:unconfined_r:mozilla_plugin_t:s0-s0:c 0.c1023 Target Context unconfined_u:object_r:user_home_t:s0 Target Objects registry.x86_64.bin [ file ] Source totem-plugin-vi Source Path /usr/libexec/totem-plugin-viewer Port <Unknown> Host (removed) Source RPM Packages totem-mozplugin-2.91.6-2.fc15 Target RPM Packages Policy RPM selinux-policy-3.9.13-9.fc15 Selinux Enabled True Policy Type targeted Enforcing Mode Enforcing Host Name (removed) Platform Linux (removed) 2.6.38-0.rc4.git0.1.fc15.x86_64 #1 SMP Tue Feb 8 01:57:21 UTC 2011 x86_64 x86_64 Alert Count 1 First Seen Fri 11 Feb 2011 03:17:52 PM CST Last Seen Fri 11 Feb 2011 03:17:52 PM CST Local ID 375d4bce-046e-48eb-8c36-2f97a915545a Raw Audit Messages type=AVC msg=audit(1297459072.453:82): avc: denied { unlink } for pid=3988 comm="totem-plugin-vi" name="registry.x86_64.bin" dev=dm-2 ino=4587782 scontext=unconfined_u:unconfined_r:mozilla_plugin_t:s0-s0:c0.c1023 tcontext=unconfined_u:object_r:user_home_t:s0 tclass=file type=SYSCALL msg=audit(1297459072.453:82): arch=x86_64 syscall=rename success=yes exit=0 a0=2661940 a1=24d4d00 a2=0 a3=0 items=0 ppid=1 pid=3988 auid=500 uid=500 gid=500 euid=500 suid=500 fsuid=500 egid=500 sgid=500 fsgid=500 tty=(none) ses=1 comm=totem-plugin-vi exe=/usr/libexec/totem-plugin-viewer subj=unconfined_u:unconfined_r:mozilla_plugin_t:s0-s0:c0.c1023 key=(null) Hash: totem-plugin-vi,mozilla_plugin_t,user_home_t,file,unlink audit2allow #============= mozilla_plugin_t ============== allow mozilla_plugin_t user_home_t:file unlink; audit2allow -R #============= mozilla_plugin_t ============== allow mozilla_plugin_t user_home_t:file unlink;