Bug 835845

Summary: SELinux is preventing /usr/sbin/audispd from 'sendto' accesses on the unix_dgram_socket /dev/log.
Product: [Fedora] Fedora Reporter: Frank Murphy <frankly3d>
Component: selinux-policyAssignee: Miroslav Grepl <mgrepl>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: dominick.grift, dwalsh, mgrepl
Target Milestone: ---   
Target Release: ---   
Hardware: i686   
OS: Unspecified   
Whiteboard: abrt_hash:ad3d824169536afc7d9713c4a6cb65f9fcd65ba2d77a5ee71275d25f7af65231
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-06-27 10:58:00 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Frank Murphy 2012-06-27 09:38:46 UTC
libreport version: 2.0.10
executable:     /usr/bin/python2.7
hashmarkername: setroubleshoot
kernel:         3.5.0-0.rc4.git1.2.fc18.i686
time:           Wed 27 Jun 2012 10:36:31 IST

description:
:SELinux is preventing /usr/sbin/audispd from 'sendto' accesses on the unix_dgram_socket /dev/log.
:
:*****  Plugin catchall (100. confidence) suggests  ***************************
:
:If you believe that audispd should be allowed sendto access on the log unix_dgram_socket by default.
:Then you should report this as a bug.
:You can generate a local policy module to allow this access.
:Do
:allow this access for now by executing:
:# grep audispd /var/log/audit/audit.log | audit2allow -M mypol
:# semodule -i mypol.pp
:
:Additional Information:
:Source Context                system_u:system_r:audisp_t:s0
:Target Context                system_u:system_r:kernel_t:s0
:Target Objects                /dev/log [ unix_dgram_socket ]
:Source                        audispd
:Source Path                   /usr/sbin/audispd
:Port                          <Unknown>
:Host                          (removed)
:Source RPM Packages           
:Target RPM Packages           
:Policy RPM                    selinux-policy-3.11.0-6.fc18.noarch
:Selinux Enabled               True
:Policy Type                   targeted
:Enforcing Mode                Enforcing
:Host Name                     (removed)
:Platform                      Linux (removed)
:                              3.5.0-0.rc4.git1.2.fc18.i686 #1 SMP Tue Jun 26
:                              16:10:13 UTC 2012 i686 i686
:Alert Count                   4
:First Seen                    Wed 27 Jun 2012 10:03:20 IST
:Last Seen                     Wed 27 Jun 2012 10:03:20 IST
:Local ID                      68769168-c6f8-42cc-a19f-ca481fc85092
:
:Raw Audit Messages
:type=AVC msg=audit(1340787800.987:16525): avc:  denied  { sendto } for  pid=678 comm="audispd" path="/dev/log" scontext=system_u:system_r:audisp_t:s0 tcontext=system_u:system_r:kernel_t:s0 tclass=unix_dgram_socket
:
:
:Hash: audispd,audisp_t,kernel_t,unix_dgram_socket,sendto
:
:audit2allow
:
:#============= audisp_t ==============
:#!!!! This avc is allowed in the current policy
:
:allow audisp_t kernel_t:unix_dgram_socket sendto;
:
:audit2allow -R
:
:#============= audisp_t ==============
:#!!!! This avc is allowed in the current policy
:
:allow audisp_t kernel_t:unix_dgram_socket sendto;
:

Comment 1 Miroslav Grepl 2012-06-27 10:58:00 UTC

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