Bug 562346 - SELinux is preventing NetworkManager (NetworkManager_t) "read" var_lib_t.
Summary: SELinux is preventing NetworkManager (NetworkManager_t) "read" var_lib_t.
Keywords:
Status: CLOSED DUPLICATE of bug 562345
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: 12
Hardware: x86_64
OS: Linux
low
medium
Target Milestone: ---
Assignee: Daniel Walsh
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: setroubleshoot_trace_hash:1bd04287cc3...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2010-02-06 02:32 UTC by Raindog
Modified: 2010-02-08 08:42 UTC (History)
3 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2010-02-08 08:42:18 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Raindog 2010-02-06 02:32:08 UTC
Summary:

SELinux is preventing NetworkManager (NetworkManager_t) "read" var_lib_t.

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) Or you can disable
SELinux protection altogether. Disabling SELinux protection is not recommended.
Please file a bug report (http://bugzilla.redhat.com/bugzilla/enter_bug.cgi)
against this package.

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.2-1.fc11
Target RPM Packages           
Policy RPM                    selinux-policy-3.6.12-88.fc11
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Permissive
Plugin Name                   catchall
Host Name                     (removed)
Platform                      Linux (removed) 2.6.30.9-102.fc11.x86_64 #1
                              SMP Fri Dec 4 00:18:53 EST 2009 x86_64 x86_64
Alert Count                   2
First Seen                    Tue 08 Dec 2009 08:55:21 PM PST
Last Seen                     Tue 08 Dec 2009 08:55:21 PM PST
Local ID                      cfb32b6a-70d2-47a1-8866-886bc00c4a1a
Line Numbers                  

Raw Audit Messages            

node=(removed) type=AVC msg=audit(1260334521.648:6): avc:  denied  { read } for  pid=1655 comm="NetworkManager" name="NetworkManager.state" dev=sdb2 ino=133338 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(1260334521.648:6): avc:  denied  { open } for  pid=1655 comm="NetworkManager" name="NetworkManager.state" dev=sdb2 ino=133338 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(1260334521.648:6): arch=c000003e syscall=2 success=no exit=-131939594625064 a0=45a900 a1=0 a2=0 a3=2 items=0 ppid=1654 pid=1655 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.12-88.fc11,catchall,NetworkManager,NetworkManager_t,var_lib_t,file,read
audit2allow suggests:

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

Comment 1 Miroslav Grepl 2010-02-08 08:42:18 UTC

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


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