Bug 823211
| Summary: | SELinux is preventing /usr/bin/totem from 'create' accesses on the file .grl-metadata-store. | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | hellojoker <hellojoker81> |
| Component: | selinux-policy | Assignee: | Miroslav Grepl <mgrepl> |
| Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 17 | CC: | dominick.grift, dwalsh, fran, mgrepl |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | x86_64 | ||
| OS: | Unspecified | ||
| Whiteboard: | abrt_hash:2bb21978ff3eb48b685d109d3df18f70fe80dd5bc8d2a30fa660f2acac352dec | ||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2012-06-03 23:30:56 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
Fixed in selinux-policy-3.10.0-126.fc17 selinux-policy-3.10.0-128.fc17 has been submitted as an update for Fedora 17. https://admin.fedoraproject.org/updates/selinux-policy-3.10.0-128.fc17 Package selinux-policy-3.10.0-128.fc17: * should fix your issue, * was pushed to the Fedora 17 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing selinux-policy-3.10.0-128.fc17' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2012-8720/selinux-policy-3.10.0-128.fc17 then log in and leave karma (feedback). selinux-policy-3.10.0-128.fc17 has been pushed to the Fedora 17 stable repository. If problems still persist, please make note of it in this bug report. SELinux is preventing /usr/bin/totem from 'create' accesses on the file .grl-metadata-store.
***** Plugin catchall (100. confidence) suggests ***************************
If cree que de manera predeterminada, totem debería permitir acceso create sobre .grl-metadata-store file.
Then debería reportar esto como un error.
Puede generar un módulo de política local para permitir este acceso.
Do
permita el acceso momentáneamente executando:
# grep totem /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_dir_t:s0
Target Objects .grl-metadata-store [ file ]
Source totem
Source Path /usr/bin/totem
Port <Desconocido>
Host (removed)
Source RPM Packages totem-3.4.3-1.fc17.i686
Target RPM Packages
Policy RPM selinux-policy-3.10.0-146.fc17.noarch
Selinux Enabled True
Policy Type targeted
Enforcing Mode Enforcing
Host Name (removed)
Platform Linux (removed) 3.5.3-1.fc17.i686 #1 SMP Wed Aug
29 19:25:38 UTC 2012 i686 i686
Alert Count 3
First Seen 2012-09-09 14:22:27 CST
Last Seen 2012-09-09 14:22:29 CST
Local ID 1edcd8a9-208a-451d-b7f1-8d4c938dcaaf
Raw Audit Messages
type=AVC msg=audit(1347222149.875:135): avc: denied { create } for pid=10331 comm="totem" name=".grl-metadata-store" scontext=unconfined_u:unconfined_r:mozilla_plugin_t:s0-s0:c0.c1023 tcontext=unconfined_u:object_r:user_home_dir_t:s0 tclass=file
type=SYSCALL msg=audit(1347222149.875:135): arch=i386 syscall=open success=no exit=EACCES a0=9d8bf08 a1=8042 a2=1a4 a3=0 items=0 ppid=1 pid=10331 auid=1000 uid=1000 gid=1000 euid=1000 suid=1000 fsuid=1000 egid=1000 sgid=1000 fsgid=1000 tty=(none) ses=2 comm=totem exe=/usr/bin/totem subj=unconfined_u:unconfined_r:mozilla_plugin_t:s0-s0:c0.c1023 key=(null)
Hash: totem,mozilla_plugin_t,user_home_dir_t,file,create
audit2allow
#============= mozilla_plugin_t ==============
allow mozilla_plugin_t user_home_dir_t:file create;
audit2allow -R
#============= mozilla_plugin_t ==============
allow mozilla_plugin_t user_home_dir_t:file create;
Francisco, if you execute in your terminal # restorecon -R -v /home does it work then? /home/dwalsh/dwalsh/.grl-metadata-store This looks like a top level directory. I just fixed this in F18 policy. We were only transitioning on a directory rather then a file. |
libreport version: 2.0.10 executable: /usr/bin/python2.7 hashmarkername: setroubleshoot kernel: 3.3.4-5.fc17.x86_64 time: dom 20 mag 2012 01:25:36 CEST description: :SELinux is preventing /usr/bin/totem from 'create' accesses on the file .grl-metadata-store. : :***** Plugin catchall (100. confidence) suggests *************************** : :If si crede che totem dovrebbe avere possibilità di accesso create sui .grl-metadata-store file in modo predefinito. :Then si dovrebbe riportare il problema come bug. :E' possibile generare un modulo di politica locale per consentire questo accesso. :Do :consentire questo accesso per il momento eseguendo: :# grep totem /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_dir_t:s0 :Target Objects .grl-metadata-store [ file ] :Source totem :Source Path /usr/bin/totem :Port <Sconosciuto> :Host (removed) :Source RPM Packages totem-3.4.1-3.fc17.x86_64 :Target RPM Packages :Policy RPM selinux-policy-3.10.0-121.fc17.noarch :Selinux Enabled True :Policy Type targeted :Enforcing Mode Enforcing :Host Name (removed) :Platform Linux (removed) 3.3.4-5.fc17.x86_64 #1 SMP Mon May 7 : 17:29:34 UTC 2012 x86_64 x86_64 :Alert Count 3 :First Seen dom 20 mag 2012 01:15:35 CEST :Last Seen dom 20 mag 2012 01:15:36 CEST :Local ID e87672cf-cffb-4087-a958-bb3009996306 : :Raw Audit Messages :type=AVC msg=audit(1337469336.133:132): avc: denied { create } for pid=2013 comm="totem" name=".grl-metadata-store" scontext=unconfined_u:unconfined_r:mozilla_plugin_t:s0-s0:c0.c1023 tcontext=unconfined_u:object_r:user_home_dir_t:s0 tclass=file : : :type=SYSCALL msg=audit(1337469336.133:132): arch=x86_64 syscall=open success=no exit=EACCES a0=3099278 a1=42 a2=1a4 a3=18 items=0 ppid=1 pid=2013 auid=1000 uid=1000 gid=1000 euid=1000 suid=1000 fsuid=1000 egid=1000 sgid=1000 fsgid=1000 tty=(none) ses=2 comm=totem exe=/usr/bin/totem subj=unconfined_u:unconfined_r:mozilla_plugin_t:s0-s0:c0.c1023 key=(null) : :Hash: totem,mozilla_plugin_t,user_home_dir_t,file,create : :audit2allowunable to open /sys/fs/selinux/policy: Permission denied : : :audit2allow -Runable to open /sys/fs/selinux/policy: Permission denied : :