Bug 1051881 - SELinux is preventing /usr/libexec/gstreamer-1.0/gst-plugin-scanner from 'rmdir' accesses on the directory /home/brian/.nv/GLCache/b9e62a665d1d0167d10afc40586a57f7.
Summary: SELinux is preventing /usr/libexec/gstreamer-1.0/gst-plugin-scanner from 'rmd...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: 19
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Miroslav Grepl
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: abrt_hash:5c4f3f09d346aaee51defe1b746...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-01-12 13:11 UTC by Brian J. Murrell
Modified: 2014-02-17 21:07 UTC (History)
4 users (show)

Fixed In Version: selinux-policy-3.12.1-74.18.fc19
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-02-17 21:07:47 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Brian J. Murrell 2014-01-12 13:11:58 UTC
Description of problem:
SELinux is preventing /usr/libexec/gstreamer-1.0/gst-plugin-scanner from 'rmdir' accesses on the directory /home/brian/.nv/GLCache/b9e62a665d1d0167d10afc40586a57f7.

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

If you believe that gst-plugin-scanner should be allowed rmdir access on the b9e62a665d1d0167d10afc40586a57f7 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 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/brian/.nv/GLCache/b9e62a665d1d0167d10afc4058
                              6a57f7 [ dir ]
Source                        gst-plugin-scan
Source Path                   /usr/libexec/gstreamer-1.0/gst-plugin-scanner
Port                          <Unknown>
Host                          (removed)
Source RPM Packages           gstreamer1-1.0.10-1.fc19.x86_64
Target RPM Packages           
Policy RPM                    selinux-policy-3.12.1-74.15.fc19.noarch
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Enforcing
Host Name                     (removed)
Platform                      Linux (removed) 3.11.9-200.fc19.x86_64 #1 SMP Wed
                              Nov 20 21:22:24 UTC 2013 x86_64 x86_64
Alert Count                   1
First Seen                    2014-01-09 19:30:33 EST
Last Seen                     2014-01-09 19:30:33 EST
Local ID                      79b12acb-7b18-4e7c-b064-5e3438bde21e

Raw Audit Messages
type=AVC msg=audit(1389313833.743:492): avc:  denied  { rmdir } for  pid=17610 comm="gst-plugin-scan" name="b9e62a665d1d0167d10afc40586a57f7" dev="dm-9" ino=205958 scontext=unconfined_u:unconfined_r:thumb_t:s0-s0:c0.c1023 tcontext=unconfined_u:object_r:cache_home_t:s0 tclass=dir


type=SYSCALL msg=audit(1389313833.743:492): arch=x86_64 syscall=rmdir success=no exit=EACCES a0=7fffa8149bc0 a1=0 a2=ffffffffffffff80 a3=29f9f35 items=0 ppid=17582 pid=17610 auid=1001 uid=1001 gid=1001 euid=1001 suid=1001 fsuid=1001 egid=1001 sgid=1001 fsgid=1001 ses=1 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,dir,rmdir

Additional info:
reporter:       libreport-2.1.10
hashmarkername: setroubleshoot
kernel:         3.11.9-200.fc19.x86_64
type:           libreport

Comment 1 Daniel Walsh 2014-01-13 16:13:00 UTC
589c2bdcb1e33a02a3707214e5aef9885a10a719 fixes this in git.

Comment 2 Fedora Update System 2014-02-11 22:09:59 UTC
selinux-policy-3.12.1-74.18.fc19 has been submitted as an update for Fedora 19.
https://admin.fedoraproject.org/updates/selinux-policy-3.12.1-74.18.fc19

Comment 3 Fedora Update System 2014-02-12 14:50:21 UTC
Package selinux-policy-3.12.1-74.18.fc19:
* should fix your issue,
* was pushed to the Fedora 19 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.12.1-74.18.fc19'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2014-2409/selinux-policy-3.12.1-74.18.fc19
then log in and leave karma (feedback).

Comment 4 Fedora Update System 2014-02-17 21:07:47 UTC
selinux-policy-3.12.1-74.18.fc19 has been pushed to the Fedora 19 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.