Bug 903392 - SELinux is preventing /usr/sbin/NetworkManager from 'create' accesses on the rawip_socket .
Summary: SELinux is preventing /usr/sbin/NetworkManager from 'create' accesses on the ...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: 18
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Miroslav Grepl
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: abrt_hash:4fe2aeeeca3e104d961306469d3...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-01-23 21:29 UTC by Dario Castellarin
Modified: 2013-02-08 02:23 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-02-08 02:23:16 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Dario Castellarin 2013-01-23 21:29:13 UTC
Description of problem:
I didn't really do anything...
SELinux is preventing /usr/sbin/NetworkManager from 'create' accesses on the rawip_socket .

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

If si crede che NetworkManager dovrebbe avere possibilità di accesso create sui  rawip_socket in modo predefinito.
Then si dovrebbe riportare il problema come bug.
E' possibile generare un modulo di politica locale per consentire questo accesso.
Do
consentire questo accesso per il momento eseguendo:
# grep NetworkManager /var/log/audit/audit.log | audit2allow -M mypol
# semodule -i mypol.pp

Additional Information:
Source Context                system_u:system_r:NetworkManager_t:s0
Target Context                system_u:system_r:NetworkManager_t:s0
Target Objects                 [ rawip_socket ]
Source                        NetworkManager
Source Path                   /usr/sbin/NetworkManager
Port                          <Unknown>
Host                          (removed)
Source RPM Packages           NetworkManager-0.9.7.0-12.git20121004.fc18.x86_64
Target RPM Packages           
Policy RPM                    selinux-policy-3.11.1-73.fc18.noarch
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Enforcing
Host Name                     (removed)
Platform                      Linux (removed) 3.7.4-203.fc18.x86_64 #1 SMP Tue
                              Jan 22 23:50:00 UTC 2013 x86_64 x86_64
Alert Count                   1
First Seen                    2013-01-23 22:26:09 CET
Last Seen                     2013-01-23 22:26:09 CET
Local ID                      9729773b-db16-422c-a3c3-f08fc1f0ffe8

Raw Audit Messages
type=AVC msg=audit(1358976369.677:367): avc:  denied  { create } for  pid=685 comm="NetworkManager" scontext=system_u:system_r:NetworkManager_t:s0 tcontext=system_u:system_r:NetworkManager_t:s0 tclass=rawip_socket


type=SYSCALL msg=audit(1358976369.677:367): arch=x86_64 syscall=socket success=no exit=EACCES a0=a a1=3 a2=3a a3=30303237206e6920 items=0 ppid=1 pid=685 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 ses=4294967295 tty=(none) comm=NetworkManager exe=/usr/sbin/NetworkManager subj=system_u:system_r:NetworkManager_t:s0 key=(null)

Hash: NetworkManager,NetworkManager_t,NetworkManager_t,rawip_socket,create

audit2allow

#============= NetworkManager_t ==============
allow NetworkManager_t self:rawip_socket create;

audit2allow -R

#============= NetworkManager_t ==============
allow NetworkManager_t self:rawip_socket create;


Additional info:
hashmarkername: setroubleshoot
kernel:         3.7.4-203.fc18.x86_64
type:           libreport

Comment 1 Miroslav Grepl 2013-01-24 08:55:35 UTC
Fixed in selinux-policy-3.11.1-74.fc18

Comment 2 Fedora Update System 2013-01-31 13:18:06 UTC
selinux-policy-3.11.1-74.fc18 has been submitted as an update for Fedora 18.
https://admin.fedoraproject.org/updates/selinux-policy-3.11.1-74.fc18

Comment 3 Fedora Update System 2013-02-01 16:38:40 UTC
Package selinux-policy-3.11.1-74.fc18:
* should fix your issue,
* was pushed to the Fedora 18 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing selinux-policy-3.11.1-74.fc18'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2013-1693/selinux-policy-3.11.1-74.fc18
then log in and leave karma (feedback).

Comment 4 Fedora Update System 2013-02-08 02:23:18 UTC
selinux-policy-3.11.1-74.fc18 has been pushed to the Fedora 18 stable repository.  If problems still persist, please make note of it in this bug report.


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