Fedora Account System
Red Hat Associate
Red Hat Customer
Description of problem: SELinux is preventing /usr/bin/ksysguardd from 'read' accesses on the file mdstat. ***** Plugin catchall (100. confidence) suggests *************************** If cree que de manera predeterminada, ksysguardd debería permitir acceso read sobre mdstat file. Then debería reportar esto como un error. Puede generar un módulo de política local para permitir este acceso. Do permita el acceso momentáneamente executando: # grep ksysguardd /var/log/audit/audit.log | audit2allow -M mypol # semodule -i mypol.pp Additional Information: Source Context xguest_u:xguest_r:xguest_t:s0 Target Context system_u:object_r:proc_mdstat_t:s0 Target Objects mdstat [ file ] Source ksysguardd Source Path /usr/bin/ksysguardd Port <Unknown> Host (removed) Source RPM Packages ksysguardd-4.9.5-7.fc18.x86_64 Target RPM Packages Policy RPM selinux-policy-3.11.1-82.fc18.noarch Selinux Enabled True Policy Type targeted Enforcing Mode Enforcing Host Name (removed) Platform Linux (removed) 3.8.1-201.fc18.x86_64 #1 SMP Thu Feb 28 19:23:08 UTC 2013 x86_64 x86_64 Alert Count 1 First Seen 2013-03-09 20:40:59 CET Last Seen 2013-03-09 20:40:59 CET Local ID c0b49bc4-96a8-435d-a951-0367fb329cf9 Raw Audit Messages type=AVC msg=audit(1362858059.650:510): avc: denied { read } for pid=14232 comm="ksysguardd" name="mdstat" dev="proc" ino=4026531973 scontext=xguest_u:xguest_r:xguest_t:s0 tcontext=system_u:object_r:proc_mdstat_t:s0 tclass=file type=SYSCALL msg=audit(1362858059.650:510): arch=x86_64 syscall=open success=no exit=EACCES a0=41f665 a1=0 a2=e7cbe0 a3=10 items=0 ppid=14225 pid=14232 auid=1004 uid=1004 gid=1007 euid=1004 suid=1004 fsuid=1004 egid=1007 sgid=1007 fsgid=1007 ses=15 tty=(none) comm=ksysguardd exe=/usr/bin/ksysguardd subj=xguest_u:xguest_r:xguest_t:s0 key=(null) Hash: ksysguardd,xguest_t,proc_mdstat_t,file,read audit2allow #============= xguest_t ============== allow xguest_t proc_mdstat_t:file read; audit2allow -R #============= xguest_t ============== allow xguest_t proc_mdstat_t:file read; Additional info: hashmarkername: setroubleshoot kernel: 3.8.1-201.fc18.x86_64 type: libreport
1f9feaaafbcd234bb5cfed4fd94b84a5f8242650 fixes this in Rawhide.
back ported.
selinux-policy-3.11.1-85.fc18 has been submitted as an update for Fedora 18. https://admin.fedoraproject.org/updates/FEDORA-2013-3605/selinux-policy-3.11.1-85.fc18
Package selinux-policy-3.11.1-85.fc18: * should fix your issue, * was pushed to the Fedora 18 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing selinux-policy-3.11.1-85.fc18' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2013-3605/selinux-policy-3.11.1-85.fc18 then log in and leave karma (feedback).
selinux-policy-3.11.1-85.fc18 has been pushed to the Fedora 18 stable repository. If problems still persist, please make note of it in this bug report.