Description of problem: systemctl start mpd SELinux is preventing /usr/bin/pulseaudio from 'getattr' accesses on the directory /sys/fs/cgroup. ***** Plugin catchall (100. confidence) suggests *************************** If you believe that pulseaudio should be allowed getattr access on the cgroup directory 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 pulseaudio /var/log/audit/audit.log | audit2allow -M mypol # semodule -i mypol.pp Additional Information: Source Context system_u:system_r:mpd_t:s0 Target Context system_u:object_r:cgroup_t:s0 Target Objects /sys/fs/cgroup [ dir ] Source pulseaudio Source Path /usr/bin/pulseaudio Port <Unknown> Host (removed) Source RPM Packages pulseaudio-2.1-6.fc18.x86_64 Target RPM Packages Policy RPM selinux-policy-3.11.1-86.fc18.noarch Selinux Enabled True Policy Type targeted Enforcing Mode Enforcing Host Name (removed) Platform Linux (removed) 3.8.5-201.fc18.x86_64 #1 SMP Thu Mar 28 21:01:19 UTC 2013 x86_64 x86_64 Alert Count 1 First Seen 2013-04-19 21:45:56 CST Last Seen 2013-04-19 21:45:56 CST Local ID 1711d086-40d4-4078-9d75-5c0c3e464c01 Raw Audit Messages type=AVC msg=audit(1366373756.575:6356): avc: denied { getattr } for pid=12718 comm="pulseaudio" path="/sys/fs/cgroup" dev="tmpfs" ino=8772 scontext=system_u:system_r:mpd_t:s0 tcontext=system_u:object_r:cgroup_t:s0 tclass=dir type=SYSCALL msg=audit(1366373756.575:6356): arch=x86_64 syscall=lstat success=no exit=EACCES a0=7f671d86cc29 a1=7fff5953ad10 a2=7fff5953ad10 a3=646f6d2f73656c75 items=0 ppid=12717 pid=12718 auid=4294967295 uid=992 gid=990 euid=992 suid=992 fsuid=992 egid=990 sgid=990 fsgid=990 ses=4294967295 tty=(none) comm=pulseaudio exe=/usr/bin/pulseaudio subj=system_u:system_r:mpd_t:s0 key=(null) Hash: pulseaudio,mpd_t,cgroup_t,dir,getattr audit2allow #============= mpd_t ============== allow mpd_t cgroup_t:dir getattr; audit2allow -R require { type mpd_t; } #============= mpd_t ============== fs_search_cgroup_dirs(mpd_t) Additional info: hashmarkername: setroubleshoot kernel: 3.8.5-201.fc18.x86_64 type: libreport
d8b18a9446d62e0a009934a45e852656f5611496 allows this in git. You can safely ignore this for now.
Back ported. commit 886c621a7e60b8ce23bfcbb2969e3a1224ea51af Author: Dan Walsh <dwalsh> Date: Fri Apr 19 11:05:28 2013 -0400 Allow mpd getattr on file system directories
selinux-policy-3.11.1-92.fc18 has been submitted as an update for Fedora 18. https://admin.fedoraproject.org/updates/selinux-policy-3.11.1-92.fc18
Package selinux-policy-3.11.1-92.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-92.fc18' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2013-6769/selinux-policy-3.11.1-92.fc18 then log in and leave karma (feedback).
selinux-policy-3.11.1-92.fc18 has been pushed to the Fedora 18 stable repository. If problems still persist, please make note of it in this bug report.