Bug 905155 - SELinux is preventing /usr/libexec/gstreamer-1.0/gst-plugin-scanner from 'write' accesses on the file /home/livio/.nv/GLCache/0cb06c7aec977f9b313d8c987ce93ff2/48f40e2d9a44c7fa/64ed917cfedad23a.toc.
Summary: SELinux is preventing /usr/libexec/gstreamer-1.0/gst-plugin-scanner from 'wri...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: 18
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Miroslav Grepl
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: abrt_hash:860fd8b02b20ca8c69074989546...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-01-28 17:32 UTC by Livio Manzini
Modified: 2013-02-08 02:25 UTC (History)
3 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2013-02-08 02:25:17 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Livio Manzini 2013-01-28 17:32:51 UTC
Description of problem:
SELinux is preventing /usr/libexec/gstreamer-1.0/gst-plugin-scanner from 'write' accesses on the file /home/livio/.nv/GLCache/0cb06c7aec977f9b313d8c987ce93ff2/48f40e2d9a44c7fa/64ed917cfedad23a.toc.

*****  Plugin catchall (100. confidence) suggests  ***************************

If si crede che gst-plugin-scanner dovrebbe avere possibilità di accesso write sui 64ed917cfedad23a.toc 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 gst-plugin-scan /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:cache_home_t:s0
Target Objects                /home/livio/.nv/GLCache/0cb06c7aec977f9b313d8c987c
                              e93ff2/48f40e2d9a44c7fa/64ed917cfedad23a.toc [
                              file ]
Source                        gst-plugin-scan
Source Path                   /usr/libexec/gstreamer-1.0/gst-plugin-scanner
Port                          <Unknown>
Host                          (removed)
Source RPM Packages           gstreamer1-1.0.5-1.fc18.x86_64
Target RPM Packages           
Policy RPM                    selinux-policy-3.11.1-73.fc18.noarch
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Permissive
Host Name                     (removed)
Platform                      Linux (removed) 3.7.4-204.fc18.x86_64 #1 SMP Wed
                              Jan 23 16:44:29 UTC 2013 x86_64 x86_64
Alert Count                   1
First Seen                    2013-01-28 18:18:43 CET
Last Seen                     2013-01-28 18:18:43 CET
Local ID                      e54192ba-eb46-467b-9651-6944a810a461

Raw Audit Messages
type=AVC msg=audit(1359393523.20:88): avc:  denied  { write } for  pid=10129 comm="gst-plugin-scan" name="64ed917cfedad23a.toc" dev="sda6" ino=3409358 scontext=unconfined_u:unconfined_r:thumb_t:s0-s0:c0.c1023 tcontext=unconfined_u:object_r:cache_home_t:s0 tclass=file


type=SYSCALL msg=audit(1359393523.20:88): arch=x86_64 syscall=open success=yes exit=ENODEV a0=130e260 a1=80002 a2=1b6 a3=238 items=0 ppid=10128 pid=10129 auid=1000 uid=1000 gid=1000 euid=1000 suid=1000 fsuid=1000 egid=1000 sgid=1000 fsgid=1000 ses=2 tty=(none) comm=gst-plugin-scan exe=/usr/libexec/gstreamer-1.0/gst-plugin-scanner subj=unconfined_u:unconfined_r:thumb_t:s0-s0:c0.c1023 key=(null)

Hash: gst-plugin-scan,thumb_t,cache_home_t,file,write

audit2allow

#============= thumb_t ==============
allow thumb_t cache_home_t:file write;

audit2allow -R

#============= thumb_t ==============
allow thumb_t cache_home_t:file write;


Additional info:
hashmarkername: setroubleshoot
kernel:         3.7.4-204.fc18.x86_64
type:           libreport

Comment 1 Daniel Walsh 2013-01-28 19:17:18 UTC
Did you actually see any problems other then the AVC?

Comment 2 Daniel Walsh 2013-01-28 19:22:57 UTC
I just added a dontaudit for this to git.

Comment 3 Miroslav Grepl 2013-01-30 09:51:09 UTC
Fixed in selinux-policy-3.11.1-74.fc18.noarch

Comment 4 Fedora Update System 2013-01-31 13:19:41 UTC
selinux-policy-3.11.1-74.fc18 has been submitted as an update for Fedora 18.
https://admin.fedoraproject.org/updates/selinux-policy-3.11.1-74.fc18

Comment 5 Fedora Update System 2013-02-01 16:40:37 UTC
Package selinux-policy-3.11.1-74.fc18:
* should fix your issue,
* was pushed to the Fedora 18 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.11.1-74.fc18'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2013-1693/selinux-policy-3.11.1-74.fc18
then log in and leave karma (feedback).

Comment 6 Fedora Update System 2013-02-08 02:25:19 UTC
selinux-policy-3.11.1-74.fc18 has been pushed to the Fedora 18 stable repository.  If problems still persist, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.