Bug 681471

Summary: NetworkManager update generates SElinux alert
Product: [Fedora] Fedora Reporter: Juergen Wieczorek <juergenw_>
Component: selinux-policy-targetedAssignee: Miroslav Grepl <mgrepl>
Status: CLOSED ERRATA QA Contact: Ben Levenson <benl>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 14CC: dwalsh
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard:
Fixed In Version: selinux-policy-3.9.7-37.fc14 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-03-22 18:52:34 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Juergen Wieczorek 2011-03-02 09:51:49 UTC
Description of problem:

Updating to NetworkManager-0.8.3.996-1.fc14.i686 and restarting the NetworkManager immediately generated this alert:


SELinux is preventing /usr/sbin/NetworkManager from using the 'signull' accesses on a process.

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

If you believe that NetworkManager should be allowed signull access on processes labeled dhcpc_t 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 NetworkManager /var/log/audit/audit.log | audit2allow -M mypol
# semodule -i mypol.pp

Additional Information:
Source Context                unconfined_u:system_r:NetworkManager_t:s0
Target Context                system_u:system_r:dhcpc_t:s0
Target Objects                Unknown [ process ]
Source                        NetworkManager
Source Path                   /usr/sbin/NetworkManager
Port                          <Unbekannt>
Host                          (removed)
Source RPM Packages           NetworkManager-0.8.3.996-1.fc14
Target RPM Packages           
Policy RPM                    selinux-policy-3.9.7-31.fc14
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Enforcing
Host Name                     (removed)
Platform                      Linux marvin42 2.6.35.11-83.fc14.i686.PAE #1 SMP
                              Mon Feb 7 06:57:55 UTC 2011 i686 i686
Alert Count                   1
First Seen                    Mi 02 Mär 2011 10:34:40 CET
Last Seen                     Mi 02 Mär 2011 10:34:40 CET
Local ID                      f19bf290-a4bc-4797-8a8e-b3a5a6e48917

Raw Audit Messages
type=AVC msg=audit(1299058480.948:16): avc:  denied  { signull } for  pid=2496 comm="NetworkManager" scontext=unconfined_u:system_r:NetworkManager_t:s0 tcontext=system_u:system_r:dhcpc_t:s0 tclass=process


type=SYSCALL msg=audit(1299058480.948:16): arch=i386 syscall=kill success=no exit=EACCES a0=5bc a1=0 a2=8103ad0 a3=5bc items=0 ppid=1 pid=2496 auid=500 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=1 comm=NetworkManager exe=/usr/sbin/NetworkManager subj=unconfined_u:system_r:NetworkManager_t:s0 key=(null)

Hash: NetworkManager,NetworkManager_t,dhcpc_t,process,signull

audit2allow

#============= NetworkManager_t ==============
allow NetworkManager_t dhcpc_t:process signull;

audit2allow -R

#============= NetworkManager_t ==============
allow NetworkManager_t dhcpc_t:process signull;

Comment 1 Juergen Wieczorek 2011-03-05 11:11:12 UTC
Still the same with NetworkManager-0.8.3.997

Comment 2 Miroslav Grepl 2011-03-07 11:30:05 UTC
Fixed in selinux-policy-3.9.7-33.fc14

Comment 3 Fedora Update System 2011-03-18 15:07:32 UTC
selinux-policy-3.9.7-34.fc14 has been submitted as an update for Fedora 14.
https://admin.fedoraproject.org/updates/selinux-policy-3.9.7-34.fc14

Comment 4 Fedora Update System 2011-03-21 08:45:31 UTC
selinux-policy-3.9.7-37.fc14 has been submitted as an update for Fedora 14.
https://admin.fedoraproject.org/updates/selinux-policy-3.9.7-37.fc14

Comment 5 Fedora Update System 2011-03-22 18:51:07 UTC
selinux-policy-3.9.7-37.fc14 has been pushed to the Fedora 14 stable repository.  If problems still persist, please make note of it in this bug report.