SELinux is preventing npviewer.bin (nsplugin_t) "search" to ./pcm (alsa_etc_rw_t)

Antonio Olivares olivares14031 at yahoo.com
Tue Feb 26 21:27:41 UTC 2008


What is npviewr? 

What does it do?

Setroubleshoot reports that it is causing trouble:



Summary:

SELinux is preventing npviewer.bin (nsplugin_t)
"search" to ./pcm
(alsa_etc_rw_t).

Detailed Description:

SELinux denied access requested by npviewer.bin. It is
not expected that this
access is required by npviewer.bin and this access may
signal an intrusion
attempt. It is also possible that the specific version
or configuration of the
application is causing it to require additional
access.

Allowing Access:

Sometimes labeling problems can cause SELinux denials.
You could try to restore
the default system file context for ./pcm,

restorecon -v './pcm'

If this does not work, there is currently no automatic
way to allow this access.
Instead, you can generate a local policy module to
allow this access - see FAQ
(http://fedora.redhat.com/docs/selinux-faq-fc5/#id2961385)
Or you can disable
SELinux protection altogether. Disabling SELinux
protection is not recommended.
Please file a bug report
(http://bugzilla.redhat.com/bugzilla/enter_bug.cgi)
against this package.

Additional Information:

Source Context               
unconfined_u:unconfined_r:nsplugin_t:SystemLow-
                              SystemHigh
Target Context               
system_u:object_r:alsa_etc_rw_t
Target Objects                ./pcm [ dir ]
Source                        npviewer.bin
Source Path                  
/usr/lib/nspluginwrapper/npviewer.bin
Port                          <Unknown>
Host                          localhost
Source RPM Packages          
nspluginwrapper-0.9.91.5-22.fc9
Target RPM Packages           
Policy RPM                   
selinux-policy-3.3.0-1.fc9
Selinux Enabled               True
Policy Type                   targeted
MLS Enabled                   True
Enforcing Mode                Enforcing
Plugin Name                   catchall_file
Host Name                     localhost
Platform                      Linux localhost
2.6.25-0.65.rc2.git7.fc9 #1 SMP
                              Sat Feb 23 23:06:09 EST
2008 i686 athlon
Alert Count                   1
First Seen                    Tue 26 Feb 2008 03:24:34
PM CST
Last Seen                     Tue 26 Feb 2008 03:24:34
PM CST
Local ID                     
21b2a4d1-ec93-4670-a34e-841d82827177
Line Numbers                  

Raw Audit Messages            

host=localhost type=AVC msg=audit(1204061074.835:111):
avc:  denied  { search } for  pid=20571
comm="npviewer.bin" name="pcm" dev=dm-0 ino=28344759
scontext=unconfined_u:unconfined_r:nsplugin_t:s0-s0:c0.c1023
tcontext=system_u:object_r:alsa_etc_rw_t:s0 tclass=dir

host=localhost type=SYSCALL
msg=audit(1204061074.835:111): arch=40000003 syscall=5
success=no exit=-13 a0=906d258 a1=0 a2=1b6 a3=0
items=0 ppid=20512 pid=20571 auid=500 uid=500 gid=500
euid=500 suid=500 fsuid=500 egid=500 sgid=500
fsgid=500 tty=(none) ses=1 comm="npviewer.bin"
exe="/usr/lib/nspluginwrapper/npviewer.bin"
subj=unconfined_u:unconfined_r:nsplugin_t:s0-s0:c0.c1023
key=(null)


Regards,

Antonio 


      ____________________________________________________________________________________
Never miss a thing.  Make Yahoo your home page. 
http://www.yahoo.com/r/hs




More information about the fedora-test-list mailing list