| Summary: | SELinux is preventing /sbin/ifconfig from 'read' accesses on the None /run/vmware-active-nics. | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Jonathan Throne <adramalech707> |
| Component: | selinux-policy | Assignee: | Miroslav Grepl <mgrepl> |
| Status: | CLOSED CANTFIX | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 16 | CC: | dominick.grift, dwalsh, mgrepl |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | x86_64 | ||
| OS: | Unspecified | ||
| Whiteboard: | abrt_hash:999a908b8b1c8673b2884dc78292899982ad2f2263c2ee2d1555dff7e14c26b1 | ||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2012-02-03 09:33:36 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
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 |
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 : :