Bug 679128 - SELinux is preventing khidpd_046db008 from 'write' accesses on the socket Unknown.
Summary: SELinux is preventing khidpd_046db008 from 'write' accesses on the socket Unk...
Keywords:
Status: CLOSED DUPLICATE of bug 741703
Alias: None
Product: Fedora
Classification: Fedora
Component: kernel
Version: 15
Hardware: i386
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Eric Paris
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: setroubleshoot_trace_hash:c40bb0e7b0f...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-02-21 17:03 UTC by Jared Smith
Modified: 2011-10-12 17:50 UTC (History)
7 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-10-12 17:50:03 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

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 ***


Note You need to log in before you can comment on or make changes to this bug.