Bug 560774 - SELinux is preventing /sbin/auditctl access to a leaked fifo_file file descriptor.
Summary: SELinux is preventing /sbin/auditctl access to a leaked fifo_file file descri...
Keywords:
Status: CLOSED DUPLICATE of bug 560323
Alias: None
Product: Fedora
Classification: Fedora
Component: upstart
Version: rawhide
Hardware: x86_64
OS: Linux
low
medium
Target Milestone: ---
Assignee: Casey Dahlin
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: setroubleshoot_trace_hash:fac7daa743f...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2010-02-01 19:54 UTC by Joshua Covington
Modified: 2014-06-18 08:47 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2010-02-02 12:53:57 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Joshua Covington 2010-02-01 19:54:43 UTC
Summary:

SELinux is preventing /sbin/auditctl access to a leaked fifo_file file
descriptor.

Detailed Description:

[auditctl has a permissive type (auditctl_t). This access was not denied.]

SELinux denied access requested by the auditctl command. It looks like this is
either a leaked descriptor or auditctl 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 fifo_file. 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:auditctl_t:s0
Target Context                system_u:system_r:init_t:s0
Target Objects                fifo_file [ fifo_file ]
Source                        auditctl
Source Path                   /sbin/auditctl
Port                          <Unknown>
Host                          (removed)
Source RPM Packages           audit-2.0.4-2.fc13
Target RPM Packages           
Policy RPM                    selinux-policy-3.7.8-5.fc13
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Enforcing
Plugin Name                   leaks
Host Name                     (removed)
Platform                      Linux localhost.localdomain
                              2.6.33-0.25.rc6.git0.fc13.x86_64 #1 SMP Sat Jan 30
                              00:43:44 UTC 2010 x86_64 x86_64
Alert Count                   1
First Seen                    Mon 01 Feb 2010 07:21:57 PM EST
Last Seen                     Mon 01 Feb 2010 07:21:57 PM EST
Local ID                      aa853383-8316-4b2f-a3ec-1efeb02d1bb8
Line Numbers                  

Raw Audit Messages            

node=localhost.localdomain type=AVC msg=audit(1265070117.598:31022): avc:  denied  { read } for  pid=1843 comm="auditctl" path="pipe:[15512]" dev=pipefs ino=15512 scontext=system_u:system_r:auditctl_t:s0 tcontext=system_u:system_r:init_t:s0 tclass=fifo_file

node=localhost.localdomain type=SYSCALL msg=audit(1265070117.598:31022): arch=c000003e syscall=59 success=yes exit=0 a0=6e98b0 a1=7256e0 a2=7291c0 a3=7fffffffc530 items=0 ppid=1830 pid=1843 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=4294967295 comm="auditctl" exe="/sbin/auditctl" subj=system_u:system_r:auditctl_t:s0 key=(null)



Hash String generated from  leaks,auditctl,auditctl_t,init_t,fifo_file,read
audit2allow suggests:

#============= auditctl_t ==============
allow auditctl_t init_t:fifo_file read;

Comment 1 Daniel Walsh 2010-02-02 12:53:57 UTC

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


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