Bug 523735 - setroubleshoot: SELinux is preventing /usr/bin/nspluginscan access to a leaked /root/.xsession-errors file descriptor.
Summary: setroubleshoot: SELinux is preventing /usr/bin/nspluginscan access to a ...
Keywords:
Status: CLOSED DUPLICATE of bug 523728
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: rawhide
Hardware: i386
OS: Linux
low
medium
Target Milestone: ---
Assignee: Daniel Walsh
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: setroubleshoot_trace_hash:5aefbe46b81...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2009-09-16 14:39 UTC by STEVEN WARD
Modified: 2009-09-16 16:03 UTC (History)
3 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2009-09-16 16:03:31 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

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

Summary:

SELinux is preventing /usr/bin/nspluginscan access to a leaked
/root/.xsession-errors file descriptor.

Detailed Description:

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

SELinux denied access requested by the nspluginscan command. It looks like this
is either a leaked descriptor or nspluginscan output was redirected to a file it
is not allowed to access. Leaks usually can be ignored since SELinux is just
closing the leak and reporting the error. The application does not use the
descriptor, so it will run properly. If this is a redirection, you will not get
output in the /root/.xsession-errors. You should generate a bugzilla on
selinux-policy, and it will get routed to the appropriate package. You can
safely ignore this avc.

Allowing Access:

You can generate a local policy module to allow this access - see FAQ
(http://fedora.redhat.com/docs/selinux-faq-fc5/#id2961385)

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                /root/.xsession-errors [ 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                   leaks
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:13 AM BST
Last Seen                     Wed 16 Sep 2009 03:27:33 PM BST
Local ID                      b122c741-e82c-4044-bf4f-b03869e31f62
Line Numbers                  

Raw Audit Messages            

node=(removed) type=AVC msg=audit(1253111253.772:34): avc:  denied  { write } for  pid=1563 comm="nspluginscan" path="/root/.xsession-errors" dev=dm-0 ino=21263 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(1253111253.772:34): arch=40000003 syscall=11 success=yes exit=0 a0=93b4358 a1=93b35c8 a2=93b3f20 a3=93b35c8 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 write;

Comment 1 Daniel Walsh 2009-09-16 16:03:31 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.