Bug 690006 - SELinux is preventing /usr/bin/python from 'create' accesses on the netlink_route_socket Unknown.
Summary: SELinux is preventing /usr/bin/python from 'create' accesses on the netlink_r...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: 15
Hardware: x86_64
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Miroslav Grepl
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: setroubleshoot_trace_hash:8128c045b4f...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-03-23 00:07 UTC by Dawid Zamirski
Modified: 2011-05-17 15:57 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-05-17 15:57:01 UTC
Type: ---


Attachments (Terms of Use)

Description Dawid Zamirski 2011-03-23 00:07:54 UTC
SELinux is preventing /usr/bin/python from 'create' accesses on the netlink_route_socket Unknown.

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

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

Additional Information:
Source Context                unconfined_u:unconfined_r:telepathy_sunshine_t:s0-
                              s0:c0.c1023
Target Context                unconfined_u:unconfined_r:telepathy_sunshine_t:s0-
                              s0:c0.c1023
Target Objects                Unknown [ netlink_route_socket ]
Source                        telepathy-sunsh
Source Path                   /usr/bin/python
Port                          <Unknown>
Host                          (removed)
Source RPM Packages           
Target RPM Packages           
Policy RPM                    selinux-policy-3.9.16-1.fc15
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Enforcing
Host Name                     (removed)
Platform                      Linux (removed) 2.6.38-1.fc15.x86_64 #1
                              SMP Tue Mar 15 05:29:00 UTC 2011 x86_64 x86_64
Alert Count                   128171
First Seen                    Tue 15 Mar 2011 09:23:00 PM EDT
Last Seen                     Tue 15 Mar 2011 11:59:33 PM EDT
Local ID                      8b20d678-852f-4bf5-9d5b-9a2201894252

Raw Audit Messages
type=AVC msg=audit(1300247973.398:11836365): avc:  denied  { create } for  pid=2871 comm="telepathy-sunsh" scontext=unconfined_u:unconfined_r:telepathy_sunshine_t:s0-s0:c0.c1023 tcontext=unconfined_u:unconfined_r:telepathy_sunshine_t:s0-s0:c0.c1023 tclass=netlink_route_socket


Hash: telepathy-sunsh,telepathy_sunshine_t,telepathy_sunshine_t,netlink_route_socket,create

audit2allow

#============= telepathy_sunshine_t ==============
allow telepathy_sunshine_t self:netlink_route_socket create;

audit2allow -R

#============= telepathy_sunshine_t ==============
allow telepathy_sunshine_t self:netlink_route_socket create;

Comment 1 Daniel Walsh 2011-03-23 12:53:52 UTC
Miroslav I am adding

sysnet_dns_name_resolve(telepathy_domain)

Fixed in selinux-policy-3.9.16-7.fc15


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