Bug 744457 - SELinux is preventing /usr/lib/nspluginwrapper/npviewer.bin from 'setattr' accesses on the directory at-spi2.
Summary: SELinux is preventing /usr/lib/nspluginwrapper/npviewer.bin from 'setattr' ac...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: 16
Hardware: i686
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Miroslav Grepl
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: abrt_hash:fd7579801a449fc9948d26c4da4...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-10-08 19:04 UTC by James
Modified: 2011-11-23 15:46 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-11-23 15:46:13 UTC
Type: ---


Attachments (Terms of Use)

Description James 2011-10-08 19:04:42 UTC
libreport version: 2.0.6
executable:     /usr/bin/python
hashmarkername: setroubleshoot
kernel:         3.1.0-0.rc9.git0.fc16.jhe.fc15.i686
reason:         SELinux is preventing /usr/lib/nspluginwrapper/npviewer.bin from 'setattr' accesses on the directory at-spi2.
time:           Sat Oct  8 20:04:31 2011

description:
:SELinux is preventing /usr/lib/nspluginwrapper/npviewer.bin from 'setattr' accesses on the directory at-spi2.
:
:*****  Plugin catchall (100. confidence) suggests  ***************************
:
:If you believe that npviewer.bin should be allowed setattr access on the at-spi2 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 npviewer.bin /var/log/audit/audit.log | audit2allow -M mypol
:# semodule -i mypol.pp
:
:Additional Information:
:Source Context                unconfined_u:unconfined_r:nsplugin_t:s0-s0:c0.c102
:                              3
:Target Context                system_u:object_r:xdm_tmp_t:s0
:Target Objects                at-spi2 [ dir ]
:Source                        npviewer.bin
:Source Path                   /usr/lib/nspluginwrapper/npviewer.bin
:Port                          <Unknown>
:Host                          (removed)
:Source RPM Packages           nspluginwrapper-1.4.4-1.fc16
:Target RPM Packages           
:Policy RPM                    selinux-policy-3.10.0-32.fc16
:Selinux Enabled               True
:Policy Type                   targeted
:Enforcing Mode                Enforcing
:Host Name                     (removed)
:Platform                      Linux (removed) 3.1.0-0.rc9.git0.fc16.jhe.fc15.i686
:                              #1 SMP Sat Oct 8 17:51:11 BST 2011 i686 i686
:Alert Count                   1
:First Seen                    Sat 08 Oct 2011 19:22:09 BST
:Last Seen                     Sat 08 Oct 2011 19:22:09 BST
:Local ID                      90f8ddcd-7ba6-4392-941a-32dd761e85ad
:
:Raw Audit Messages
:type=AVC msg=audit(1318098129.959:78): avc:  denied  { setattr } for  pid=1923 comm="npviewer.bin" name="at-spi2" dev=sda3 ino=262188 scontext=unconfined_u:unconfined_r:nsplugin_t:s0-s0:c0.c1023 tcontext=system_u:object_r:xdm_tmp_t:s0 tclass=dir
:
:
:type=SYSCALL msg=audit(1318098129.959:78): arch=i386 syscall=chmod success=no exit=EACCES a0=29eb0a a1=3ff a2=2a6ff4 a3=2a7e68 items=0 ppid=1901 pid=1923 auid=1000 uid=1000 gid=1000 euid=1000 suid=1000 fsuid=1000 egid=1000 sgid=1000 fsgid=1000 tty=(none) ses=2 comm=npviewer.bin exe=/usr/lib/nspluginwrapper/npviewer.bin subj=unconfined_u:unconfined_r:nsplugin_t:s0-s0:c0.c1023 key=(null)
:
:Hash: npviewer.bin,nsplugin_t,xdm_tmp_t,dir,setattr
:
:audit2allow
:
:#============= nsplugin_t ==============
:allow nsplugin_t xdm_tmp_t:dir setattr;
:
:audit2allow -R
:
:#============= nsplugin_t ==============
:allow nsplugin_t xdm_tmp_t:dir setattr;
:

Comment 1 Miroslav Grepl 2011-10-10 15:07:57 UTC
Do you know what you were doing when this happened?

Comment 2 Daniel Walsh 2011-10-11 17:13:16 UTC
This definitely should not be allowed. Maybe we should dontaudit.


I would figure nothing actually broke.

Comment 3 James 2011-10-11 17:39:28 UTC
(In reply to comment #1)
> Do you know what you were doing when this happened?

Not entirely sure, this might've been older versions before an update. Haven't seen it since...


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