Bug 743177

Summary: SELinux is preventing /usr/lib64/nspluginwrapper/npviewer.bin from 'write' accesses on the directorio at-spi2.
Product: [Fedora] Fedora Reporter: Iván Jiménez <icj>
Component: selinux-policyAssignee: Miroslav Grepl <mgrepl>
Status: CLOSED INSUFFICIENT_DATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 16CC: dominick.grift, dwalsh, james, mgrepl
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
Whiteboard: abrt_hash:bafefd461fc69f2655d47e1db1a9e09046078bde76420111f2b54e1fffab35e3
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-11-23 14:45:48 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Iván Jiménez 2011-10-04 04:15:09 UTC
libreport version: 2.0.5.982
executable:     /usr/bin/python
hashmarkername: setroubleshoot
kernel:         3.1.0-0.rc8.git0.0.fc16.x86_64
reason:         SELinux is preventing /usr/lib64/nspluginwrapper/npviewer.bin from 'write' accesses on the directorio at-spi2.
time:           Mon Oct  3 23:14:39 2011

description:
:SELinux is preventing /usr/lib64/nspluginwrapper/npviewer.bin from 'write' accesses on the directorio at-spi2.
:
:*****  Plugin catchall (100. confidence) suggests  ***************************
:
:If you believe that npviewer.bin should be allowed write 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/lib64/nspluginwrapper/npviewer.bin
:Port                          <Desconocido>
: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 localhost.localdomain
:                              3.1.0-0.rc8.git0.0.fc16.x86_64 #1 SMP Wed Sep 28
:                              01:31:14 UTC 2011 x86_64 x86_64
:Alert Count                   1
:First Seen                    lun 03 oct 2011 23:11:41 COT
:Last Seen                     lun 03 oct 2011 23:11:41 COT
:Local ID                      d7ff48dc-3241-4004-b2ef-c72e734745a0
:
:Raw Audit Messages
:type=AVC msg=audit(1317701501.560:162): avc:  denied  { write } for  pid=5482 comm="npviewer.bin" name="at-spi2" dev=sda3 ino=262180 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(1317701501.560:162): arch=x86_64 syscall=bind success=no exit=EACCES a0=d a1=7ffff7e41500 a2=25 a3=7ffff7e411e0 items=0 ppid=5459 pid=5482 auid=1000 uid=1000 gid=1000 euid=1000 suid=1000 fsuid=1000 egid=1000 sgid=1000 fsgid=1000 tty=(none) ses=1 comm=npviewer.bin exe=/usr/lib64/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,write
:
:audit2allow
:
:#============= nsplugin_t ==============
:#!!!! The source type 'nsplugin_t' can write to a 'dir' of the following types:
:# admin_home_t, user_tmpfs_type, user_home_dir_t, tmp_t, tmpfs_t, nsplugin_home_t, user_fonts_cache_t, user_tmp_t, pulseaudio_home_t, user_home_t, gnome_home_type
:
:allow nsplugin_t xdm_tmp_t:dir write;
:
:audit2allow -R
:
:#============= nsplugin_t ==============
:#!!!! The source type 'nsplugin_t' can write to a 'dir' of the following types:
:# admin_home_t, user_tmpfs_type, user_home_dir_t, tmp_t, tmpfs_t, nsplugin_home_t, user_fonts_cache_t, user_tmp_t, pulseaudio_home_t, user_home_t, gnome_home_type
:
:allow nsplugin_t xdm_tmp_t:dir write;
:

Comment 1 Miroslav Grepl 2011-10-04 06:42:46 UTC
Do you know what you were doing when this happened?

Comment 2 Iván Jiménez 2011-10-04 16:04:45 UTC
(In reply to comment #1)
> Do you know what you were doing when this happened?

It happens every time I enable Screen keyboard in the Accesibility status icon

Comment 3 Daniel Walsh 2011-10-04 20:36:36 UTC
Does the accessibility screen work?