Bug 630257 - SELinux is preventing /usr/lib/nspluginwrapper/npviewer.bin "read" access on /home/mildred/.fonts.
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:8bf2a78f4df...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2010-09-04 13:00 UTC by Mildred
Modified: 2010-09-11 03:43 UTC (History)
2 users (show)

Fixed In Version: selinux-policy-3.9.3-1.fc14
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2010-09-11 03:43:11 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Mildred 2010-09-04 13:00:48 UTC
Summary:

SELinux is preventing /usr/lib/nspluginwrapper/npviewer.bin "read" access on
/home/mildred/.fonts.

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:user_fonts_t:s0
Target Objects                /home/mildred/.fonts [ lnk_file ]
Source                        npviewer.bin
Source Path                   /usr/lib/nspluginwrapper/npviewer.bin (deleted)
Port                          <Unknown>
Host                          (removed)
Source RPM Packages           nspluginwrapper-1.3.0-14.fc14
Target RPM Packages           
Policy RPM                    selinux-policy-3.9.0-2.fc14
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Permissive
Plugin Name                   catchall
Host Name                     (removed)
Platform                      Linux (removed) 2.6.35.4-12.fc14.x86_64 #1 SMP Fri Aug
                              27 07:45:05 UTC 2010 x86_64 x86_64
Alert Count                   14
First Seen                    Fri 27 Aug 2010 03:32:53 PM CEST
Last Seen                     Fri 03 Sep 2010 02:25:21 PM CEST
Local ID                      82867300-5f84-4587-a28c-43ed1310e90d
Line Numbers                  

Raw Audit Messages            

node=(removed) type=AVC msg=audit(1283516721.469:66): avc:  denied  { read } for  pid=9202 comm="npviewer.bin" name=".fonts" dev=sda5 ino=4210583 scontext=unconfined_u:unconfined_r:nsplugin_t:s0-s0:c0.c1023 tcontext=unconfined_u:object_r:user_fonts_t:s0 tclass=lnk_file

node=(removed) type=SYSCALL msg=audit(1283516721.469:66): arch=40000003 syscall=195 per=8 success=yes exit=0 a0=9916578 a1=ffae398c a2=41404ff4 a3=3 items=0 ppid=5962 pid=9202 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)



Hash String generated from  catchall,npviewer.bin,nsplugin_t,user_fonts_t,lnk_file,read
audit2allow suggests:

#============= nsplugin_t ==============
allow nsplugin_t user_fonts_t:lnk_file read;

Comment 1 Daniel Walsh 2010-09-08 15:03:13 UTC
Fixed in selinux-policy-3.9.3-1.fc14

Comment 2 Fedora Update System 2010-09-08 18:42:04 UTC
selinux-policy-3.9.3-1.fc14 has been submitted as an update for Fedora 14.
https://admin.fedoraproject.org/updates/selinux-policy-3.9.3-1.fc14

Comment 3 Fedora Update System 2010-09-09 04:12:44 UTC
selinux-policy-3.9.3-1.fc14 has been pushed to the Fedora 14 testing repository.  If problems still persist, please make note of it in this bug report.
 If you want to test the update, you can install it with 
 su -c 'yum --enablerepo=updates-testing update selinux-policy'.  You can provide feedback for this update here: https://admin.fedoraproject.org/updates/selinux-policy-3.9.3-1.fc14

Comment 4 Fedora Update System 2010-09-11 03:41:28 UTC
selinux-policy-3.9.3-1.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.