Bug 662096 - SELinux is preventing /usr/sbin/semodule access to a leaked /tmp/tmpiObIbA file descriptor.
Summary: SELinux is preventing /usr/sbin/semodule access to a leaked /tmp/tmpiObIbA fi...
Keywords:
Status: CLOSED DUPLICATE of bug 662092
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: 13
Hardware: i686
OS: Linux
low
medium
Target Milestone: ---
Assignee: Miroslav Grepl
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2010-12-10 16:06 UTC by promenade2010
Modified: 2010-12-10 18:48 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2010-12-10 18:48:55 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description promenade2010 2010-12-10 16:06:20 UTC
Summary:

SELinux is preventing /usr/sbin/semodule access to a leaked /tmp/tmpiObIbA file
descriptor.

Detailed Description:

[semodule has a permissive type (semanage_t). This access was not denied.]

SELinux denied access requested by the semodule command. It looks like this is
either a leaked descriptor or semodule 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 /tmp/tmpiObIbA. 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://docs.fedoraproject.org/selinux-faq-fc5/#id2961385)

Additional Information:

Source Context                system_u:system_r:semanage_t:s0-s0:c0.c1023
Target Context                system_u:object_r:initrc_tmp_t:s0
Target Objects                /tmp/tmpiObIbA [ file ]
Source                        semodule
Source Path                   /usr/sbin/semodule
Port                          <Unknown>
Host                          spearhead
Source RPM Packages           policycoreutils-2.0.83-33.1.fc13
Target RPM Packages           
Policy RPM                    selinux-policy-3.7.19-73.fc13
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Enforcing
Plugin Name                   leaks
Host Name                     spearhead
Platform                      Linux spearhead 2.6.34.7-61.fc13.i686.PAE #1 SMP
                              Tue Oct 19 04:24:06 UTC 2010 i686 i686
Alert Count                   9
First Seen                    Tue 23 Nov 2010 11:05:35 AM EST
Last Seen                     Tue 07 Dec 2010 09:13:33 AM EST
Local ID                      5d9932d3-7ee8-430b-b162-f69264edac37
Line Numbers                  

Raw Audit Messages            

node=spearhead type=AVC msg=audit(1291731213.30:28593): avc:  denied  { append } for  pid=10439 comm="semodule" path="/tmp/tmpiObIbA" dev=dm-0 ino=2228304 scontext=system_u:system_r:semanage_t:s0-s0:c0.c1023 tcontext=system_u:object_r:initrc_tmp_t:s0 tclass=file

node=spearhead type=AVC msg=audit(1291731213.30:28593): avc:  denied  { append } for  pid=10439 comm="semodule" path="/tmp/tmpiObIbA" dev=dm-0 ino=2228304 scontext=system_u:system_r:semanage_t:s0-s0:c0.c1023 tcontext=system_u:object_r:initrc_tmp_t:s0 tclass=file

node=spearhead type=SYSCALL msg=audit(1291731213.30:28593): arch=40000003 syscall=11 success=yes exit=0 a0=89d58f8 a1=89d5948 a2=89d15a8 a3=89d5948 items=0 ppid=10438 pid=10439 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=4294967295 comm="semodule" exe="/usr/sbin/semodule" subj=system_u:system_r:semanage_t:s0-s0:c0.c1023 key=(null)

Comment 1 Daniel Walsh 2010-12-10 18:48:55 UTC

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


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