Bug 523730

Summary: setroubleshoot: SELinux is preventing /usr/bin/nspluginscan "setattr" access on pluginsinfo.lock.MT1571.
Product: [Fedora] Fedora Reporter: STEVEN WARD <stevenward666>
Component: selinux-policyAssignee: Daniel Walsh <dwalsh>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: low    
Version: rawhideCC: dwalsh, jkubin, mgrepl
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard: setroubleshoot_trace_hash:1dc727730b3341ee28d617c82c5727bd7504ea997308091fcba06db766654c2f
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2009-09-16 16:02:11 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

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

Summary:

SELinux is preventing /usr/bin/nspluginscan "setattr" access on
pluginsinfo.lock.MT1571.

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
report.

Additional Information:

Source Context                unconfined_u:unconfined_r:nsplugin_t:s0-s0:c0.c102
                              3
Target Context                unconfined_u:object_r:admin_home_t:s0
Target Objects                pluginsinfo.lock.MT1571 [ 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                   1
First Seen                    Wed 16 Sep 2009 04:49:15 AM BST
Last Seen                     Wed 16 Sep 2009 04:49:15 AM BST
Local ID                      133759f1-1f89-4c9c-947d-32a58d1d9585
Line Numbers                  

Raw Audit Messages            

node=(removed) type=AVC msg=audit(1253072955.120:47): avc:  denied  { setattr } for  pid=1571 comm="nspluginscan" name="pluginsinfo.lock.MT1571" dev=dm-0 ino=393277 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(1253072955.120:47): arch=40000003 syscall=94 success=yes exit=0 a0=9 a1=1a4 a2=11b5cb8 a3=1a5 items=0 ppid=1513 pid=1571 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 setattr;

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

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