Bug 561579 - 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: selinux-policy
Version: rawhide
Hardware: x86_64
OS: Linux
low
medium
Target Milestone: ---
Assignee: Daniel Walsh
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: setroubleshoot_trace_hash:fac7daa743f...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2010-02-03 23:45 UTC by ojab
Modified: 2010-04-09 01:20 UTC (History)
5 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2010-02-04 13:22:20 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description ojab 2010-02-03 23:45:32 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-6.fc13
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Enforcing
Plugin Name                   leaks
Host Name                     (removed)
Platform                      Linux (removed) 2.6.33-0.26.rc6.git1.fc13.x86_64
                              #1 SMP Tue Feb 2 03:56:00 UTC 2010 x86_64 x86_64
Alert Count                   1
First Seen                    Thu 04 Feb 2010 02:43:24 AM MSK
Last Seen                     Thu 04 Feb 2010 02:43:24 AM MSK
Local ID                      f7e208fc-18b6-4ba2-a603-65f7d03cfd64
Line Numbers                  

Raw Audit Messages            

node=(removed) type=AVC msg=audit(1265240604.550:21522): avc:  denied  { read } for  pid=1710 comm="auditctl" path="pipe:[16973]" dev=pipefs ino=16973 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(1265240604.550:21522): arch=c000003e syscall=59 success=yes exit=0 a0=8eab40 a1=926d20 a2=92a3e0 a3=7fffffffdd80 items=0 ppid=1700 pid=1710 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-04 13:22:20 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.