Bug 787051 - SELinux is preventing /sbin/ifconfig from 'read' accesses on the None /run/vmware-active-nics.
Summary: SELinux is preventing /sbin/ifconfig from 'read' accesses on the None /run/vm...
Keywords:
Status: CLOSED CANTFIX
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:999a908b8b1c8673b2884dc7829...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-02-03 02:28 UTC by Jonathan Throne
Modified: 2012-02-03 09:33 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-02-03 09:33:36 UTC
Type: ---


Attachments (Terms of Use)

Description Jonathan Throne 2012-02-03 02:28:06 UTC
libreport version: 2.0.8
executable:     /usr/bin/python
hashmarkername: setroubleshoot
kernel:         3.2.2-1.fc16.x86_64
reason:         SELinux is preventing /sbin/ifconfig from 'read' accesses on the None /run/vmware-active-nics.
time:           Thu 02 Feb 2012 06:11:25 PM PST

description:
:SELinux is preventing /sbin/ifconfig from 'read' accesses on the None /run/vmware-active-nics.
:
:*****  Plugin catchall (100. confidence) suggests  ***************************
:
:If you believe that ifconfig should be allowed read access on the vmware-active-nics <Unknown> 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 ifconfig /var/log/audit/audit.log | audit2allow -M mypol
:# semodule -i mypol.pp
:
:Additional Information:
:Source Context                system_u:system_r:ifconfig_t:s0
:Target Context                system_u:object_r:init_var_run_t:s0
:Target Objects                /run/vmware-active-nics [ None ]
:Source                        ifconfig
:Source Path                   /sbin/ifconfig
:Port                          <Unknown>
:Host                          (removed)
:Source RPM Packages           net-tools-1.60-122.fc16.x86_64
:Target RPM Packages           
:Policy RPM                    selinux-policy-3.10.0-74.fc16.noarch
:Selinux Enabled               True
:Policy Type                   targeted
:Enforcing Mode                Enforcing
:Host Name                     (removed)
:Platform                      Linux (removed) 3.2.2-1.fc16.x86_64 #1
:                              SMP Thu Jan 26 03:21:58 UTC 2012 x86_64 x86_64
:Alert Count                   1
:First Seen                    Thu 02 Feb 2012 06:10:46 PM PST
:Last Seen                     Thu 02 Feb 2012 06:10:46 PM PST
:Local ID                      02cd67a3-fd8b-4077-bd54-a8647a57977d
:
:Raw Audit Messages
:type=AVC msg=audit(1328235046.599:88): avc:  denied  { read } for  pid=3022 comm="ifconfig" path="/run/vmware-active-nics" dev=tmpfs ino=26791 scontext=system_u:system_r:ifconfig_t:s0 tcontext=system_u:object_r:init_var_run_t:s0 tclass=filenode=(removed) type=SYSCALL msg=audit(1328235046.599:88): arch=c000003e syscall=59 success=yes exit=0 a0=ce7e50 a1=ce7e90 a2=cd9920 a3=18 items=0 ppid=2883 pid=3022 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=4294967295 comm="ifconfig" exe="/sbin/ifconfig" subj=system_u:system_r:ifconfig_t:s0 key=(null)
:
:
:Hash: ifconfig,ifconfig_t,init_var_run_t,None,read
:
:audit2allow
:
:
:audit2allow -R
:
:

Comment 1 Miroslav Grepl 2012-02-03 09:33:36 UTC
This is a vmware leak file descriptor. You can dontaudit it using

# grep ifconfig /var/log/audit/audit.log | audit2allow -D -M mypol
# semodule -i mypol.pp

Also what is your output of

# ps -eZ |grep vmware


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