Bug 679128

Summary: SELinux is preventing khidpd_046db008 from 'write' accesses on the socket Unknown.
Product: [Fedora] Fedora Reporter: Jared Smith <jsmith.fedora>
Component: kernelAssignee: Eric Paris <eparis>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: medium    
Version: 15CC: dwalsh, gansalmon, itamar, jonathan, kernel-maint, madhu.chinakonda, mgrepl
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard: setroubleshoot_trace_hash:c40bb0e7b0f265bfc7fdc3d252e3ee98761d51fb41068fa0c1a6f48063e0aa73
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-10-12 17:50:03 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 Jared Smith 2011-02-21 17:03:54 UTC
SELinux is preventing khidpd_046db008 from 'write' accesses on the socket Unknown.

*****  Plugin catchall (100. confidence) suggests  ***************************

If you believe that khidpd_046db008 should be allowed write access on the Unknown 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 khidpd_046db008 /var/log/audit/audit.log | audit2allow -M mypol
# semodule -i mypol.pp

Additional Information:
Source Context                system_u:system_r:kernel_t:s0
Target Context                system_u:object_r:unlabeled_t:s0
Target Objects                Unknown [ socket ]
Source                        khidpd_046db008
Source Path                   khidpd_046db008
Port                          <Unknown>
Host                          (removed)
Source RPM Packages           
Target RPM Packages           
Policy RPM                    selinux-policy-3.9.14-2.fc15
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Enforcing
Host Name                     (removed)
Platform                      Linux (removed) 2.6.38-0.rc4.git0.2.fc15.i686 #1
                              SMP Tue Feb 8 04:28:24 UTC 2011 i686 i686
Alert Count                   394
First Seen                    Thu 17 Feb 2011 01:18:38 PM EST
Last Seen                     Mon 21 Feb 2011 11:23:06 AM EST
Local ID                      c0f31e68-edf8-4bc1-b7c8-e0371f8d2f09

Raw Audit Messages
type=AVC msg=audit(1298305386.260:151): avc:  denied  { write } for  pid=5083 comm="khidpd_046db008" scontext=system_u:system_r:kernel_t:s0 tcontext=system_u:object_r:unlabeled_t:s0 tclass=socket


Hash: khidpd_046db008,kernel_t,unlabeled_t,socket,write

audit2allow

#============= kernel_t ==============
allow kernel_t unlabeled_t:socket write;

audit2allow -R

#============= kernel_t ==============
allow kernel_t unlabeled_t:socket write;

Comment 1 Eric Paris 2011-10-12 17:50:03 UTC

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