Bug 698265 - SELinux is preventing khidpd_045e0762 from 'write' accesses on the socket Unknown.
Summary: SELinux is preventing khidpd_045e0762 from 'write' accesses on the socket Unk...
Keywords:
Status: CLOSED DUPLICATE of bug 698101
Alias: None
Product: Fedora
Classification: Fedora
Component: kernel
Version: 15
Hardware: x86_64
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Kernel Maintainer List
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: setroubleshoot_trace_hash:62d7dbeaa00...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-04-20 14:30 UTC by James Cape
Modified: 2011-04-20 20:33 UTC (History)
7 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2011-04-20 20:33:13 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

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


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