Bug 698265

Summary: SELinux is preventing khidpd_045e0762 from 'write' accesses on the socket Unknown.
Product: [Fedora] Fedora Reporter: James Cape <jamescape777>
Component: kernelAssignee: Kernel Maintainer List <kernel-maint>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 15CC: dwalsh, gansalmon, itamar, jonathan, kernel-maint, madhu.chinakonda, mgrepl
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard: setroubleshoot_trace_hash:62d7dbeaa00dc9f372f626d931a9950d453c89b5d7d356ac830cc45f02e080c7
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-04-20 20:33:13 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 James Cape 2011-04-20 14:30:33 UTC
SELinux is preventing khidpd_045e0762 from 'write' accesses on the socket Unknown.

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

If you believe that khidpd_045e0762 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_045e0762 /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_045e0762
Source Path                   khidpd_045e0762
Port                          <Unknown>
Host                          (removed)
Source RPM Packages           
Target RPM Packages           
Policy RPM                    selinux-policy-3.9.16-15.fc15
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Enforcing
Host Name                     (removed)
Platform                      Linux (removed) 2.6.38.2-9.fc15.x86_64 #1 SMP Wed Mar
                              30 16:55:57 UTC 2011 x86_64 x86_64
Alert Count                   12
First Seen                    Wed 20 Apr 2011 09:29:54 AM CDT
Last Seen                     Wed 20 Apr 2011 09:30:09 AM CDT
Local ID                      73ecfade-ce7b-40d7-96ef-d901b18768f8

Raw Audit Messages
type=AVC msg=audit(1303309809.346:594): avc:  denied  { write } for  pid=23242 comm="khidpd_045e0762" scontext=system_u:system_r:kernel_t:s0 tcontext=system_u:object_r:unlabeled_t:s0 tclass=socket


Hash: khidpd_045e0762,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 Daniel Walsh 2011-04-20 14:46:59 UTC
Looks like a kernel issue

Comment 2 Chuck Ebbert 2011-04-20 20:33:13 UTC

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