Bug 817312

Summary: SELinux is preventing /usr/bin/totem-video-thumbnailer from 'create' accesses on the directory .orc.
Product: [Fedora] Fedora Reporter: José Antonio <josian2200>
Component: selinux-policyAssignee: Miroslav Grepl <mgrepl>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 17CC: dominick.grift, dwalsh, mgrepl
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
Whiteboard: abrt_hash:3275a2d21f081944a23fc304713a65d109ec914b5fb712a1f8103b6978fa8561
Fixed In Version: selinux-policy-3.10.0-121.fc17 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-05-08 04:22:22 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:

Description José Antonio 2012-04-28 21:47:52 UTC
libreport version: 2.0.10
executable:     /usr/bin/python2.7
hashmarkername: setroubleshoot
kernel:         3.3.2-8.fc17.x86_64
time:           Sat 28 Apr 2012 10:47:30 PM WEST

description:
:SELinux is preventing /usr/bin/totem-video-thumbnailer from 'create' accesses on the directory .orc.
:
:*****  Plugin catchall (100. confidence) suggests  ***************************
:
:If you believe that totem-video-thumbnailer should be allowed create access on the .orc 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 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:user_home_dir_t:s0
:Target Objects                .orc [ dir ]
:Source                        multiqueue0:src
:Source Path                   /usr/bin/totem-video-thumbnailer
:Port                          <Unknown>
:Host                          (removed)
:Source RPM Packages           totem-3.4.0-1.fc17.x86_64
:Target RPM Packages           
:Policy RPM                    selinux-policy-3.10.0-118.fc17.noarch
:Selinux Enabled               True
:Policy Type                   targeted
:Enforcing Mode                Enforcing
:Host Name                     (removed)
:Platform                      Linux (removed) 3.3.2-8.fc17.x86_64 #1 SMP Sat
:                              Apr 21 12:44:25 UTC 2012 x86_64 x86_64
:Alert Count                   2
:First Seen                    Sat 28 Apr 2012 10:46:46 PM WEST
:Last Seen                     Sat 28 Apr 2012 10:47:20 PM WEST
:Local ID                      039b6742-51ba-450b-ad00-0481efbfe6a4
:
:Raw Audit Messages
:type=AVC msg=audit(1335649640.937:342): avc:  denied  { create } for  pid=3027 comm="multiqueue0:src" name=".orc" scontext=unconfined_u:unconfined_r:thumb_t:s0-s0:c0.c1023 tcontext=unconfined_u:object_r:user_home_dir_t:s0 tclass=dir
:
:
:type=SYSCALL msg=audit(1335649640.937:342): arch=x86_64 syscall=mkdir success=no exit=EACCES a0=7fe8dc0392f0 a1=1c0 a2=ffffffffffffff80 a3=7fe8f5bf0340 items=0 ppid=2894 pid=3027 auid=1000 uid=1000 gid=1000 euid=1000 suid=1000 fsuid=1000 egid=1000 sgid=1000 fsgid=1000 tty=(none) ses=4 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,user_home_dir_t,dir,create
:
:audit2allowunable to open /sys/fs/selinux/policy:  Permission denied
:
:
:audit2allow -Runable to open /sys/fs/selinux/policy:  Permission denied
:
:

Comment 1 Daniel Walsh 2012-04-30 19:58:37 UTC
Fixed in selinux-policy-3.10.0-120.fc17

mkdir .orc
restorecon ~/.orc

Should fix the problem for now.

Comment 2 Fedora Update System 2012-05-04 19:52:58 UTC
selinux-policy-3.10.0-121.fc17 has been submitted as an update for Fedora 17.
https://admin.fedoraproject.org/updates/selinux-policy-3.10.0-121.fc17

Comment 3 Fedora Update System 2012-05-04 22:16:44 UTC
Package selinux-policy-3.10.0-121.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-121.fc17'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2012-7313/selinux-policy-3.10.0-121.fc17
then log in and leave karma (feedback).

Comment 4 Fedora Update System 2012-05-08 04:22:22 UTC
selinux-policy-3.10.0-121.fc17 has been pushed to the Fedora 17 stable repository.  If problems still persist, please make note of it in this bug report.