Bug 523885 - setroubleshoot: SELinux is preventing NetworkManager (NetworkManager_t) "read" var_lib_t.
Summary: setroubleshoot: SELinux is preventing NetworkManager (NetworkManager_t) ...
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: rawhide
Hardware: i386
OS: Linux
low
medium
Target Milestone: ---
Assignee: Daniel Walsh
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: setroubleshoot_trace_hash:05c5bc0ef7d...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2009-09-17 03:18 UTC by peter.meng
Modified: 2009-09-17 17:55 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2009-09-17 17:55:16 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description peter.meng 2009-09-17 03:18:35 UTC
The following was filed automatically by setroubleshoot:

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) 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/misc/PolicyKit.reload [ file ]
Source                        NetworkManager
Source Path                   /usr/sbin/NetworkManager
Port                          <Unknown>
Host                          (removed)
Source RPM Packages           NetworkManager-0.7.995-1.git20090804.fc12
Target RPM Packages           PolicyKit-0.9-6.fc11
Policy RPM                    selinux-policy-3.6.26-8.fc12
Selinux Enabled               True
Policy Type                   targeted
MLS Enabled                   True
Enforcing Mode                Permissive
Plugin Name                   catchall
Host Name                     (removed)
Platform                      Linux (removed)
                              2.6.31-0.125.4.2.rc5.git2.fc12.i686 #1 SMP Tue Aug
                              11 21:20:05 EDT 2009 i686 i686
Alert Count                   3
First Seen                    Mon 14 Sep 2009 11:34:04 AM CST
Last Seen                     Mon 14 Sep 2009 11:57:16 AM CST
Local ID                      838d8d31-46f8-4c81-925b-3f8f374f5fb7
Line Numbers                  

Raw Audit Messages            

node=(removed) type=AVC msg=audit(1252900636.591:6): avc:  denied  { read } for  pid=1031 comm="NetworkManager" name="PolicyKit.reload" dev=sda2 ino=950364 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(1252900636.591:6): arch=40000003 syscall=292 success=yes exit=2 a0=8 a1=60c15a0 a2=106 a3=8466190 items=0 ppid=1 pid=1031 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)


audit2allow suggests:

#============= NetworkManager_t ==============
allow NetworkManager_t var_lib_t:file read;

Comment 1 Daniel Walsh 2009-09-17 17:55:16 UTC
Please update to the latest policy and make sure you relabel this directory.

yum update
restorecon -R -v /var/lib


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