Bug 752298 - SELinux is preventing /usr/sbin/NetworkManager from 'search' accesses on the directory /.
Summary: SELinux is preventing /usr/sbin/NetworkManager from 'search' accesses on the ...
Keywords:
Status: CLOSED DUPLICATE of bug 751520
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: 16
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Miroslav Grepl
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: abrt_hash:75d694542d3cafd67f13d7510d3...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-11-09 04:51 UTC by Robert McBroom
Modified: 2011-11-09 09:38 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-11-09 09:38:29 UTC
Type: ---


Attachments (Terms of Use)

Description Robert McBroom 2011-11-09 04:51:59 UTC
libreport version: 2.0.6
executable:     /usr/bin/python
hashmarkername: setroubleshoot
kernel:         3.1.0-7.fc16.x86_64
reason:         SELinux is preventing /usr/sbin/NetworkManager from 'search' accesses on the directory /.
time:           Tue Nov  8 23:51:45 2011

description:
:SELinux is preventing /usr/sbin/NetworkManager from 'search' accesses on the directory /.
:
:*****  Plugin catchall (100. confidence) suggests  ***************************
:
:If you believe that NetworkManager should be allowed search access on the  directory 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                system_u:system_r:NetworkManager_t:s0
:Target Context                system_u:object_r:etc_runtime_t:s0
:Target Objects                / [ dir ]
:Source                        NetworkManager
:Source Path                   /usr/sbin/NetworkManager
:Port                          <Unknown>
:Host                          (removed)
:Source RPM Packages           NetworkManager-0.9.1.90-3.git20110927.fc16
:Target RPM Packages           filesystem-2.4.44-1.fc16
:Policy RPM                    selinux-policy-3.10.0-43.fc16
:Selinux Enabled               True
:Policy Type                   targeted
:Enforcing Mode                Permissive
:Host Name                     (removed)
:Platform                      Linux (removed)
:                              3.1.0-0.rc10.git0.1.fc16.x86_64 #1 SMP Wed Oct 19
:                              05:02:17 UTC 2011 x86_64 x86_64
:Alert Count                   1
:First Seen                    Fri 21 Oct 2011 01:24:54 AM EDT
:Last Seen                     Fri 21 Oct 2011 01:24:54 AM EDT
:Local ID                      cd11141d-7e0f-4124-9e8b-a510d953155c
:
:Raw Audit Messages
:type=AVC msg=audit(1319174694.658:38): avc:  denied  { search } for  pid=913 comm="NetworkManager" name="/" dev=sda8 ino=2 scontext=system_u:system_r:NetworkManager_t:s0 tcontext=system_u:object_r:etc_runtime_t:s0 tclass=dir
:
:
:type=SYSCALL msg=audit(1319174694.658:38): arch=x86_64 syscall=chdir success=yes exit=0 a0=4b5ac2 a1=ffffffff a2=ffffffff a3=7fff9e5d4430 items=0 ppid=789 pid=913 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: NetworkManager,NetworkManager_t,etc_runtime_t,dir,search
:
:audit2allow
:
:#============= NetworkManager_t ==============
:allow NetworkManager_t etc_runtime_t:dir search;
:
:audit2allow -R
:
:#============= NetworkManager_t ==============
:allow NetworkManager_t etc_runtime_t:dir search;
:

Comment 1 Miroslav Grepl 2011-11-09 09:38:29 UTC

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


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