Bug 523738 - setroubleshoot: SELinux is preventing /usr/bin/nspluginscan "getattr" access on /root/.config/Trolltech.conf.
Summary: setroubleshoot: SELinux is preventing /usr/bin/nspluginscan "getattr" access ...
Status: CLOSED DUPLICATE of bug 523728
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: rawhide
Hardware: i386
OS: Linux
Target Milestone: ---
Assignee: Daniel Walsh
QA Contact: Fedora Extras Quality Assurance
Whiteboard: setroubleshoot_trace_hash:8a93341526b...
Depends On:
TreeView+ depends on / blocked
Reported: 2009-09-16 14:41 UTC by STEVEN WARD
Modified: 2009-09-16 16:04 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Last Closed: 2009-09-16 16:04:11 UTC

Attachments (Terms of Use)

Description STEVEN WARD 2009-09-16 14:41:17 UTC
The following was filed automatically by setroubleshoot:


SELinux is preventing /usr/bin/nspluginscan "getattr" access on

Detailed Description:

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

SELinux denied access requested by nspluginscan. It is not expected that this
access is required by nspluginscan 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://fedora.redhat.com/docs/selinux-faq-fc5/#id2961385) Please file a bug

Additional Information:

Source Context                unconfined_u:unconfined_r:nsplugin_t:s0-s0:c0.c102
Target Context                unconfined_u:object_r:admin_home_t:s0
Target Objects                /root/.config/Trolltech.conf [ file ]
Source                        nspluginscan
Source Path                   /usr/bin/nspluginscan
Port                          <Unknown>
Host                          (removed)
Source RPM Packages           kdebase-4.3.1-2.fc12
Target RPM Packages           
Policy RPM                    selinux-policy-3.6.31-3.fc12
Selinux Enabled               True
Policy Type                   targeted
MLS Enabled                   True
Enforcing Mode                Permissive
Plugin Name                   catchall
Host Name                     (removed)
Platform                      Linux (removed) 2.6.31-12.fc12.i686 #1 SMP Mon Sep
                              14 02:27:06 EDT 2009 i686 athlon
Alert Count                   2
First Seen                    Wed 16 Sep 2009 04:49:14 AM BST
Last Seen                     Wed 16 Sep 2009 03:27:34 PM BST
Local ID                      228f5005-f2f2-4bbc-9872-98c287859a6e
Line Numbers                  

Raw Audit Messages            

node=(removed) type=AVC msg=audit(1253111254.142:37): avc:  denied  { getattr } for  pid=1563 comm="nspluginscan" path="/root/.config/Trolltech.conf" dev=dm-0 ino=264911 scontext=unconfined_u:unconfined_r:nsplugin_t:s0-s0:c0.c1023 tcontext=unconfined_u:object_r:admin_home_t:s0 tclass=file

node=(removed) type=SYSCALL msg=audit(1253111254.142:37): arch=40000003 syscall=195 success=yes exit=0 a0=93f8778 a1=940962c a2=4a14ff4 a3=9409608 items=0 ppid=1507 pid=1563 auid=0 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=1 comm="nspluginscan" exe="/usr/bin/nspluginscan" subj=unconfined_u:unconfined_r:nsplugin_t:s0-s0:c0.c1023 key=(null)

audit2allow suggests:

#============= nsplugin_t ==============
allow nsplugin_t admin_home_t:file getattr;

Comment 1 Daniel Walsh 2009-09-16 16:04:11 UTC

*** This bug has been marked as a duplicate of bug 523728 ***

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