Bug 622049 - SELinux is preventing /usr/lib/nspluginwrapper/npviewer.bin "read" access on /home/gene/.asoundrc.
Summary: SELinux is preventing /usr/lib/nspluginwrapper/npviewer.bin "read" access ...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: 14
Hardware: x86_64
OS: Linux
low
medium
Target Milestone: ---
Assignee: Daniel Walsh
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: setroubleshoot_trace_hash:7cfa8a10904...
: 622050 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2010-08-06 21:37 UTC by Gene Snider
Modified: 2010-08-24 01:50 UTC (History)
2 users (show)

Fixed In Version: selinux-policy-3.8.8-14.fc14
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2010-08-24 01:50:48 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Gene Snider 2010-08-06 21:37:59 UTC
Summary:

SELinux is preventing /usr/lib/nspluginwrapper/npviewer.bin "read" access on
/home/gene/.asoundrc.

Detailed Description:

[SELinux is in permissive mode. This access was not denied.]

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:

You can generate a local policy module to allow this access - see FAQ
(http://docs.fedoraproject.org/selinux-faq-fc5/#id2961385) Please file a bug
report.

Additional Information:

Source Context                unconfined_u:unconfined_r:nsplugin_t:s0-s0:c0.c102
                              3
Target Context                unconfined_u:object_r:alsa_home_t:s0
Target Objects                /home/gene/.asoundrc [ file ]
Source                        npviewer.bin
Source Path                   /usr/lib/nspluginwrapper/npviewer.bin
Port                          <Unknown>
Host                          (removed)
Source RPM Packages           nspluginwrapper-1.3.0-14.fc14
Target RPM Packages           
Policy RPM                    selinux-policy-3.8.8-8.fc14
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Permissive
Plugin Name                   catchall
Host Name                     (removed)
Platform                      Linux (removed) 2.6.35-3.fc14.x86_64 #1 SMP Fri
                              Aug 6 19:41:28 UTC 2010 x86_64 x86_64
Alert Count                   1
First Seen                    Fri 06 Aug 2010 02:36:39 PM PDT
Last Seen                     Fri 06 Aug 2010 02:36:39 PM PDT
Local ID                      f1f1fdd0-f916-44cd-a1b5-9c64e974259f
Line Numbers                  

Raw Audit Messages            

node=(removed) type=AVC msg=audit(1281130599.731:19668): avc:  denied  { read } for  pid=7548 comm="npviewer.bin" name=".asoundrc" dev=dm-2 ino=116 scontext=unconfined_u:unconfined_r:nsplugin_t:s0-s0:c0.c1023 tcontext=unconfined_u:object_r:alsa_home_t:s0 tclass=file

node=(removed) type=SYSCALL msg=audit(1281130599.731:19668): arch=40000003 syscall=33 per=8 success=yes exit=0 a0=8c8b448 a1=4 a2=10b815c a3=8c8b36c items=0 ppid=6812 pid=7548 auid=500 uid=500 gid=500 euid=500 suid=500 fsuid=500 egid=500 sgid=500 fsgid=500 tty=(none) ses=3 comm="npviewer.bin" exe="/usr/lib/nspluginwrapper/npviewer.bin" subj=unconfined_u:unconfined_r:nsplugin_t:s0-s0:c0.c1023 key=(null)



Hash String generated from  catchall,npviewer.bin,nsplugin_t,alsa_home_t,file,read
audit2allow suggests:

#============= nsplugin_t ==============
allow nsplugin_t alsa_home_t:file read;

Comment 1 Daniel Walsh 2010-08-10 15:46:12 UTC
You can add these rules for now using

# grep avc /var/log/audit/audit.log | audit2allow -M mypol
# semodule -i mypol.pp

Fixed in selinux-policy-3.8.8-12.fc14

Comment 2 Daniel Walsh 2010-08-10 15:46:36 UTC
*** Bug 622050 has been marked as a duplicate of this bug. ***

Comment 3 Fedora Update System 2010-08-13 20:30:07 UTC
selinux-policy-3.8.8-14.fc14 has been submitted as an update for Fedora 14.
http://admin.fedoraproject.org/updates/selinux-policy-3.8.8-14.fc14

Comment 4 Fedora Update System 2010-08-24 01:49:37 UTC
selinux-policy-3.8.8-14.fc14 has been pushed to the Fedora 14 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.