SELinux is preventing /usr/bin/mpd from 'read' accesses on the lnk_file swen. ***** Plugin catchall (100. confidence) suggests *************************** If you believe that mpd should be allowed read access on the swen lnk_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 /usr/bin/mpd /var/log/audit/audit.log | audit2allow -M mypol # semodule -i mypol.pp Additional Information: Source Context unconfined_u:system_r:mpd_t:s0 Target Context unconfined_u:object_r:mpd_data_t:s0 Target Objects swen [ lnk_file ] Source mpd Source Path /usr/bin/mpd Port <Unbekannt> Host (removed) Source RPM Packages mpd-0.15.12-1.fc14 Target RPM Packages Policy RPM selinux-policy-3.9.7-18.fc14 Selinux Enabled True Policy Type targeted Enforcing Mode Enforcing Host Name (removed) Platform Linux (removed) 2.6.35.10-72.fc14.x86_64 #1 SMP Mon Dec 20 21:14:22 UTC 2010 x86_64 x86_64 Alert Count 1 First Seen Do 23 Dez 2010 17:44:53 CET Last Seen Do 23 Dez 2010 17:44:53 CET Local ID ab366022-2e39-4dee-aaa3-a066a404ea02 Raw Audit Messages type=AVC msg=audit(1293122693.309:29185): avc: denied { read } for pid=4970 comm="mpd" name="swen" dev=sda2 ino=263435 scontext=unconfined_u:system_r:mpd_t:s0 tcontext=unconfined_u:object_r:mpd_data_t:s0 tclass=lnk_file mpd,mpd_t,mpd_data_t,lnk_file,read type=SYSCALL msg=audit(1293122693.309:29185): arch=x86_64 syscall=readlink success=yes exit=EEXIST a0=7f4a64009130 a1=7f4a70fe1af0 a2=1000 a3=7f4a70fe1860 items=0 ppid=1 pid=4970 auid=500 uid=492 gid=488 euid=492 suid=492 fsuid=492 egid=488 sgid=488 fsgid=488 tty=(none) ses=2 comm=mpd exe=/usr/bin/mpd subj=unconfined_u:system_r:mpd_t:s0 key=(null) mpd,mpd_t,mpd_data_t,lnk_file,read #============= mpd_t ============== allow mpd_t mpd_data_t:lnk_file read;
Miroslav, just add manage_lnk_files_pattern(mpd_t, mpd_data_t, mpd_data_t)
Fixed in selinux-policy-3.9.7-20.fc14
selinux-policy-3.9.7-20.fc14 has been submitted as an update for Fedora 14. https://admin.fedoraproject.org/updates/selinux-policy-3.9.7-20.fc14
selinux-policy-3.9.7-20.fc14 has been pushed to the Fedora 14 testing repository. If problems still persist, please make note of it in this bug report. If you want to test the update, you can install it with su -c 'yum --enablerepo=updates-testing update selinux-policy'. You can provide feedback for this update here: https://admin.fedoraproject.org/updates/selinux-policy-3.9.7-20.fc14
selinux-policy-3.9.7-20.fc14 has been pushed to the Fedora 14 stable repository. If problems still persist, please make note of it in this bug report.