Bug 833083 - SELinux is preventing /usr/bin/vmnet-bridge from 'write' accesses on the file /etc/vmware/networking.
Summary: SELinux is preventing /usr/bin/vmnet-bridge from 'write' accesses on the file...
Keywords:
Status: CLOSED DUPLICATE of bug 833085
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: 17
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Miroslav Grepl
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: abrt_hash:07500ab1bfce3e141ea9539a507...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-06-18 14:38 UTC by stephane.hofman
Modified: 2012-06-18 15:30 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-06-18 15:30:46 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description stephane.hofman 2012-06-18 14:38:31 UTC
libreport version: 2.0.10
executable:     /usr/bin/python2.7
hashmarkername: setroubleshoot
kernel:         3.4.0-1.fc17.x86_64
time:           lun. 18 juin 2012 16:38:16 CEST

description:
:SELinux is preventing /usr/bin/vmnet-bridge from 'write' accesses on the file /etc/vmware/networking.
:
:*****  Plugin restorecon (93.9 confidence) suggests  *************************
:
:If you want to fix the label. 
:/etc/vmware/networking default label should be vmware_sys_conf_t.
:Then you can run restorecon.
:Do
:# /sbin/restorecon -v /etc/vmware/networking
:
:*****  Plugin leaks (6.10 confidence) suggests  ******************************
:
:If you want to ignore vmnet-bridge trying to write access the networking file, because you believe it should not need this access.
:Then you should report this as a bug.  
:You can generate a local policy module to dontaudit this access.
:Do
:# grep /usr/bin/vmnet-bridge /var/log/audit/audit.log | audit2allow -D -M mypol
:# semodule -i mypol.pp
:
:*****  Plugin catchall (1.43 confidence) suggests  ***************************
:
:If you believe that vmnet-bridge should be allowed write access on the networking file 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 vmnet-bridge /var/log/audit/audit.log | audit2allow -M mypol
:# semodule -i mypol.pp
:
:Additional Information:
:Source Context                system_u:system_r:vmware_host_t:s0-s0:c0.c1023
:Target Context                unconfined_u:object_r:etc_t:s0
:Target Objects                /etc/vmware/networking [ file ]
:Source                        vmnet-bridge
:Source Path                   /usr/bin/vmnet-bridge
:Port                          <Inconnu>
:Host                          (removed)
:Source RPM Packages           
:Target RPM Packages           
:Policy RPM                    selinux-policy-3.10.0-130.fc17.noarch
:Selinux Enabled               True
:Policy Type                   targeted
:Enforcing Mode                Enforcing
:Host Name                     (removed)
:Platform                      Linux (removed) 3.4.0-1.fc17.x86_64 #1 SMP
:                              Sun Jun 3 06:35:17 UTC 2012 x86_64 x86_64
:Alert Count                   6
:First Seen                    lun. 18 juin 2012 16:26:32 CEST
:Last Seen                     lun. 18 juin 2012 16:26:33 CEST
:Local ID                      258de917-5547-430b-9680-21660e99af06
:
:Raw Audit Messages
:type=AVC msg=audit(1340029593.147:44): avc:  denied  { write } for  pid=882 comm="vmnet-dhcpd" path="/etc/vmware/networking" dev="sda1" ino=1056110 scontext=system_u:system_r:vmware_host_t:s0-s0:c0.c1023 tcontext=unconfined_u:object_r:etc_t:s0 tclass=file
:
:
:type=SYSCALL msg=audit(1340029593.147:44): arch=x86_64 syscall=execve success=yes exit=0 a0=7f3847ba7950 a1=7f3847b9dbf0 a2=7fff52245490 a3=7 items=0 ppid=726 pid=882 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=4294967295 comm=vmnet-dhcpd exe=/usr/bin/vmnet-dhcpd subj=system_u:system_r:vmware_host_t:s0-s0:c0.c1023 key=(null)
:
:Hash: vmnet-bridge,vmware_host_t,etc_t,file,write
:
:audit2allowunable to open /sys/fs/selinux/policy:  Permission denied
:
:
:audit2allow -Runable to open /sys/fs/selinux/policy:  Permission denied
:
:

Comment 1 Miroslav Grepl 2012-06-18 15:30:46 UTC

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


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