Bug 560131 - 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-01-29 22:56 UTC by ojab
Modified: 2014-06-18 08:47 UTC (History)
10 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2010-02-01 19:30:22 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description ojab 2010-01-29 22:56:55 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-1.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 (removed) 2.6.33-0.23.rc5.git1.fc13.x86_64
                              #1 SMP Mon Jan 25 22:04:05 UTC 2010 x86_64 x86_64
Alert Count                   1
First Seen                    Sat 30 Jan 2010 01:55:15 AM MSK
Last Seen                     Sat 30 Jan 2010 01:55:15 AM MSK
Local ID                      f25ef095-9daf-4ed6-886f-6cd59b3f511b
Line Numbers                  

Raw Audit Messages            

node=(removed) type=AVC msg=audit(1264805715.617:22622): avc:  denied  { read } for  pid=1738 comm="auditctl" path="pipe:[15523]" dev=pipefs ino=15523 scontext=system_u:system_r:auditctl_t:s0 tcontext=system_u:system_r:init_t:s0 tclass=fifo_file

node=(removed) type=SYSCALL msg=audit(1264805715.617:22622): arch=c000003e syscall=59 success=yes exit=0 a0=ef0900 a1=f2c730 a2=f30210 a3=0 items=0 ppid=1727 pid=1738 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-01 16:41:32 UTC
I think upstart might be leaking a pipe?

Comment 2 Daniel Walsh 2010-02-01 19:30:22 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.