Description of problem: pmtd-selinux-test SELinux is preventing /usr/bin/bash from 'getattr' accesses on the file /usr/sbin/dmidecode. ***** Plugin catchall (100. confidence) suggests *************************** If you believe that bash should be allowed getattr access on the dmidecode 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 virt-what /var/log/audit/audit.log | audit2allow -M mypol # semodule -i mypol.pp Additional Information: Source Context system_u:system_r:tuned_t:s0 Target Context unconfined_u:object_r:dmidecode_exec_t:s0 Target Objects /usr/sbin/dmidecode [ file ] Source virt-what Source Path /usr/bin/bash Port <Unknown> Host (removed) Source RPM Packages bash-4.2.45-1.fc19.x86_64 Target RPM Packages dmidecode-2.11-10.fc19.x86_64 Policy RPM selinux-policy-3.12.1-24.fc19.noarch Selinux Enabled True Policy Type targeted Enforcing Mode Permissive Host Name (removed) Platform Linux (removed) 3.9.0-0.rc4.git0.1.fc19.x86_64 #1 SMP Mon Mar 25 02:31:02 UTC 2013 x86_64 x86_64 Alert Count 2 First Seen 2013-04-17 08:45:10 EDT Last Seen 2013-04-17 08:45:10 EDT Local ID 4cd77d29-b7ae-4a6f-9023-2d4f76a6ebbc Raw Audit Messages type=AVC msg=audit(1366202710.754:121): avc: denied { getattr } for pid=2733 comm="virt-what" path="/usr/sbin/dmidecode" dev="dm-0" ino=142149 scontext=system_u:system_r:tuned_t:s0 tcontext=unconfined_u:object_r:dmidecode_exec_t:s0 tclass=file type=SYSCALL msg=audit(1366202710.754:121): arch=x86_64 syscall=stat success=yes exit=0 a0=25195e0 a1=7fff933fd350 a2=7fff933fd350 a3=7fff933fd1f0 items=0 ppid=2729 pid=2733 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 ses=4294967295 tty=(none) comm=virt-what exe=/usr/bin/bash subj=system_u:system_r:tuned_t:s0 key=(null) Hash: virt-what,tuned_t,dmidecode_exec_t,file,getattr audit2allow #============= tuned_t ============== allow tuned_t dmidecode_exec_t:file getattr; audit2allow -R require { type tuned_t; } #============= tuned_t ============== dmidecode_exec(tuned_t) Additional info: hashmarkername: setroubleshoot kernel: 3.9.0-0.rc4.git0.1.fc19.x86_64 type: libreport
*** This bug has been marked as a duplicate of bug 953133 ***