Bug 827128
| Summary: | SELinux is preventing /usr/bin/totem-video-thumbnailer from 'execute' accesses on the file /home/thomas/.orc/orcexec.yryRah (deleted). | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | tuxor <acc-bugz-redhat> |
| 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: | dimer1, dominick.grift, dwalsh, jantho, mgrepl, three |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | x86_64 | ||
| OS: | Unspecified | ||
| Whiteboard: | abrt_hash:ba00d47acbf84e926060feca5809d491aa8abc91c8dd7deda9225b84e77228e1 | ||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2012-06-19 16:29:42 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-129.fc17 Unfortunately it's still there with selinux-policy-3.10.0-129.fc17.noarch (I tried the build from koji) Unfortunately your right. Miroslav we need thumb.te from F18 backported to F17 Specifically: gnome_exec_gstreamer_home_files(thumb_t) *** Bug 828870 has been marked as a duplicate of this bug. *** Looks like selinux-policy-3.10.0-130.fc17 from koji fixes it. Maybe we leave this bug report open until the update has been pushed to stable. I have same problem. Waiting for update.
Error log:
SELinux is preventing /usr/bin/totem-video-thumbnailer from 'execute' accesses on the file /home/dimer/.orc/orcexec.Z1Ljjf (deleted).
***** Plugin catchall (100. confidence) suggests ***************************
If вы считаете, что totem-video-thumbnailer следует разрешить доступ execute к orcexec.Z1Ljjf (deleted) file по умолчанию.
Then рекомендуется создать отчет об ошибке.
Чтобы разрешить доступ, можно создать локальный модуль политики.
Do
чтобы разрешить доступ, выполните:
# grep multiqueue0:src /var/log/audit/audit.log | audit2allow -M mypol
# semodule -i mypol.pp
Additional Information:
Source Context unconfined_u:unconfined_r:thumb_t:s0-s0:c0.c1023
Target Context unconfined_u:object_r:gstreamer_home_t:s0
Target Objects /home/dimer/.orc/orcexec.Z1Ljjf (deleted) [ file ]
Source multiqueue0:src
Source Path /usr/bin/totem-video-thumbnailer
Port <Неизвестно>
Host (removed)
Source RPM Packages totem-3.4.2-1.fc17.x86_64
Target RPM Packages
Policy RPM selinux-policy-3.10.0-128.fc17.noarch
Selinux Enabled True
Policy Type targeted
Enforcing Mode Enforcing
Host Name (removed)
Platform Linux Dim4.Home 3.4.0-1.fc17.x86_64 #1 SMP Sun Jun
3 06:35:17 UTC 2012 x86_64 x86_64
Alert Count 1
First Seen Ср. 13 июня 2012 22:39:42
Last Seen Ср. 13 июня 2012 22:39:42
Local ID 231655a5-996a-4447-a518-e2890ae83542
Raw Audit Messages
type=AVC msg=audit(1339612782.651:123): avc: denied { execute } for pid=3167 comm="multiqueue0:src" path=2F686F6D652F64696D65722F2E6F72632F6F7263657865632E5A314C6A6A66202864656C6574656429 dev="dm-2" ino=263298 scontext=unconfined_u:unconfined_r:thumb_t:s0-s0:c0.c1023 tcontext=unconfined_u:object_r:gstreamer_home_t:s0 tclass=file
type=SYSCALL msg=audit(1339612782.651:123): arch=x86_64 syscall=mmap success=no exit=EACCES a0=0 a1=10000 a2=5 a3=1 items=0 ppid=2262 pid=3167 auid=1000 uid=1000 gid=1000 euid=1000 suid=1000 fsuid=1000 egid=1000 sgid=1000 fsgid=1000 tty=(none) ses=2 comm=multiqueue0:src exe=/usr/bin/totem-video-thumbnailer subj=unconfined_u:unconfined_r:thumb_t:s0-s0:c0.c1023 key=(null)
Hash: multiqueue0:src,thumb_t,gstreamer_home_t,file,execute
audit2allowunable to open /sys/fs/selinux/policy: Permission denied
audit2allow -Runable to open /sys/fs/selinux/policy: Permission denied
Fixed in selinux-policy-3.10.0-130.fc17 selinux-policy-3.10.0-132.fc17 has been submitted as an update for Fedora 17. https://admin.fedoraproject.org/updates/selinux-policy-3.10.0-132.fc17 selinux-policy-3.10.0-132.fc17 has been pushed to the Fedora 17 stable repository. If problems still persist, please make note of it in this bug report. selinux-policy-3.10.0-132.fc17 has been pushed to the Fedora 17 stable repository. If problems still persist, please make note of it in this bug report. |
libreport version: 2.0.10 executable: /usr/bin/python2.7 hashmarkername: setroubleshoot kernel: 3.3.7-1.fc17.x86_64 time: Do 31 Mai 2012 19:03:10 CEST description: :SELinux is preventing /usr/bin/totem-video-thumbnailer from 'execute' accesses on the file /home/tuxor/.orc/orcexec.yryRah (deleted). : :***** Plugin catchall (100. confidence) suggests *************************** : :If sie denken, dass totem-video-thumbnailer standardmässig erlaubt sein sollte, execute Zugriff auf orcexec.yryRah (deleted) file zu erhalten. :Then sie sollten dies als Fehler melden. :Um diesen Zugriff zu erlauben, können Sie ein lokales Richtlinien-Modul erstellen. :Do :zugriff jetzt erlauben, indem Sie die nachfolgenden Befehle ausführen: :# grep mpegaudioparse0 /var/log/audit/audit.log | audit2allow -M mypol :# semodule -i mypol.pp : :Additional Information: :Source Context unconfined_u:unconfined_r:thumb_t:s0-s0:c0.c1023 :Target Context unconfined_u:object_r:gstreamer_home_t:s0 :Target Objects /home/tuxor/.orc/orcexec.yryRah (deleted) [ file : ] :Source mpegaudioparse0 :Source Path /usr/bin/totem-video-thumbnailer :Port <Unbekannt> :Host (removed) :Source RPM Packages totem-3.4.1-3.fc17.x86_64 :Target RPM Packages :Policy RPM selinux-policy-3.10.0-128.fc17.noarch :Selinux Enabled True :Policy Type targeted :Enforcing Mode Enforcing :Host Name (removed) :Platform Linux (removed) 3.3.7-1.fc17.x86_64 #1 SMP : Mon May 21 22:32:19 UTC 2012 x86_64 x86_64 :Alert Count 10 :First Seen Do 31 Mai 2012 19:01:32 CEST :Last Seen Do 31 Mai 2012 19:01:33 CEST :Local ID 8db66e63-7d8a-4df5-8b9e-6415bc8bfe09 : :Raw Audit Messages :type=AVC msg=audit(1338483693.118:156): avc: denied { execute } for pid=4331 comm="mpegaudioparse0" path=2F686F6D652F74686F6D61732F2E6F72632F6F7263657865632E797279526168202864656C6574656429 dev="dm-2" ino=1050756 scontext=unconfined_u:unconfined_r:thumb_t:s0-s0:c0.c1023 tcontext=unconfined_u:object_r:gstreamer_home_t:s0 tclass=file : : :type=SYSCALL msg=audit(1338483693.118:156): arch=x86_64 syscall=mmap success=no exit=EACCES a0=0 a1=10000 a2=5 a3=1 items=0 ppid=3853 pid=4331 auid=1000 uid=1000 gid=1000 euid=1000 suid=1000 fsuid=1000 egid=1000 sgid=1000 fsgid=1000 tty=(none) ses=2 comm=mpegaudioparse0 exe=/usr/bin/totem-video-thumbnailer subj=unconfined_u:unconfined_r:thumb_t:s0-s0:c0.c1023 key=(null) : :Hash: mpegaudioparse0,thumb_t,gstreamer_home_t,file,execute : :audit2allowunable to open /sys/fs/selinux/policy: Permission denied : : :audit2allow -Runable to open /sys/fs/selinux/policy: Permission denied : :