Bug 550260

Summary: SELinux is preventing /usr/sbin/NetworkManager "read" access on /var/lib/NetworkManager/NetworkManager.state.
Product: [Fedora] Fedora Reporter: Tobias Mueller <fedora-bugs>
Component: selinux-policyAssignee: Daniel Walsh <dwalsh>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: low    
Version: 12CC: dcbw, dwalsh, mgrepl
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard: setroubleshoot_trace_hash:7aae1025877b0b19ad67a42636bd144802f43315cc4148515981267da64ae5aa
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2009-12-26 09:40:50 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Tobias Mueller 2009-12-24 09:37:13 UTC
Summary:

SELinux is preventing /usr/sbin/NetworkManager "read" access on
/var/lib/NetworkManager/NetworkManager.state.

Detailed Description:

[SELinux is in permissive mode. This access was not denied.]

SELinux denied access requested by NetworkManager. It is not expected that this
access is required by NetworkManager and this access may signal an intrusion
attempt. It is also possible that the specific version or configuration of the
application is causing it to require additional access.

Allowing Access:

You can generate a local policy module to allow this access - see FAQ
(http://fedora.redhat.com/docs/selinux-faq-fc5/#id2961385) Please file a bug
report.

Additional Information:

Source Context                system_u:system_r:NetworkManager_t:s0
Target Context                system_u:object_r:var_lib_t:s0
Target Objects                /var/lib/NetworkManager/NetworkManager.state [
                              file ]
Source                        NetworkManager
Source Path                   /usr/sbin/NetworkManager
Port                          <Unknown>
Host                          (removed)
Source RPM Packages           NetworkManager-0.7.996-7.git20091113.fc12
Target RPM Packages           
Policy RPM                    selinux-policy-3.6.32-59.fc12
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Permissive
Plugin Name                   catchall
Host Name                     (removed)
Platform                      Linux (removed) 2.6.31.6-166.fc12.x86_64 #1 SMP Wed
                              Dec 9 10:46:22 EST 2009 x86_64 x86_64
Alert Count                   2
First Seen                    Do 24 Dez 2009 10:30:17 CET
Last Seen                     Do 24 Dez 2009 10:30:17 CET
Local ID                      8f897d3f-9ffa-4645-8ff8-018544cade4a
Line Numbers                  

Raw Audit Messages            

node=(removed) type=AVC msg=audit(1261647017.555:9): avc:  denied  { read } for  pid=1269 comm="NetworkManager" name="NetworkManager.state" dev=dm-1 ino=45170 scontext=system_u:system_r:NetworkManager_t:s0 tcontext=system_u:object_r:var_lib_t:s0 tclass=file

node=(removed) type=AVC msg=audit(1261647017.555:9): avc:  denied  { open } for  pid=1269 comm="NetworkManager" name="NetworkManager.state" dev=dm-1 ino=45170 scontext=system_u:system_r:NetworkManager_t:s0 tcontext=system_u:object_r:var_lib_t:s0 tclass=file

node=(removed) type=SYSCALL msg=audit(1261647017.555:9): arch=c000003e syscall=2 success=yes exit=128 a0=46fa88 a1=0 a2=0 a3=2 items=0 ppid=1268 pid=1269 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=4294967295 comm="NetworkManager" exe="/usr/sbin/NetworkManager" subj=system_u:system_r:NetworkManager_t:s0 key=(null)



Hash String generated from  selinux-policy-3.6.32-59.fc12,catchall,NetworkManager,NetworkManager_t,var_lib_t,file,read
audit2allow suggests:

#============= NetworkManager_t ==============
allow NetworkManager_t var_lib_t:file { read open };

Comment 1 Dan Williams 2009-12-26 09:40:50 UTC

*** This bug has been marked as a duplicate of bug 539295 ***