SELinux is preventing /usr/bin/curlftpfs from using the 'sys_nice' capabilities. ***** Plugin catchall (100. confidence) suggests *************************** If you believe that curlftpfs should have the sys_nice capability 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 curlftpfs /var/log/audit/audit.log | audit2allow -M mypol # semodule -i mypol.pp Additional Information: Source Context system_u:system_r:mount_t:s0 Target Context system_u:system_r:mount_t:s0 Target Objects Unknown [ capability ] Source curlftpfs Source Path /usr/bin/curlftpfs Port <Unbekannt> Host (removed) Source RPM Packages curlftpfs-0.9.2-7.fc15 Target RPM Packages Policy RPM selinux-policy-3.9.16-44.fc15 Selinux Enabled True Policy Type targeted Enforcing Mode Enforcing Host Name (removed) Platform Linux (removed) 2.6.40.6-0.fc15.i686 #1 SMP Tue Oct 4 00:51:19 UTC 2011 i686 i686 Alert Count 2 First Seen Mi 16 Nov 2011 18:43:17 CET Last Seen Mi 16 Nov 2011 19:59:46 CET Local ID 21dd7477-1b65-42c1-8455-806406ba5c7e Raw Audit Messages type=AVC msg=audit(1321469986.849:60): avc: denied { sys_nice } for pid=7039 comm="curlftpfs" capability=23 scontext=system_u:system_r:mount_t:s0 tcontext=system_u:system_r:mount_t:s0 tclass=capability type=AVC msg=audit(1321469986.849:60): avc: denied { setsched } for pid=7039 comm="curlftpfs" scontext=system_u:system_r:mount_t:s0 tcontext=system_u:system_r:mount_t:s0 tclass=process type=SYSCALL msg=audit(1321469986.849:60): arch=i386 syscall=sched_setscheduler success=no exit=EACCES a0=1b7f a1=0 a2=bfcb150c a3=b77d8730 items=0 ppid=7038 pid=7039 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=4294967295 comm=curlftpfs exe=/usr/bin/curlftpfs subj=system_u:system_r:mount_t:s0 key=(null) Hash: curlftpfs,mount_t,mount_t,capability,sys_nice audit2allow #============= mount_t ============== allow mount_t self:capability sys_nice; allow mount_t self:process setsched; audit2allow -R #============= mount_t ============== allow mount_t self:capability sys_nice; allow mount_t self:process setsched;
Miroslav we should add this and back port. 633cf006ced401e3b2c6e8dc2af7f32564b585ce In Rawhide adds these priv.
Fixed n selinux-policy-3.9.16-49.fc15
selinux-policy-3.9.16-50.fc15 has been submitted as an update for Fedora 15. https://admin.fedoraproject.org/updates/selinux-policy-3.9.16-50.fc15
Package selinux-policy-3.9.16-50.fc15: * should fix your issue, * was pushed to the Fedora 15 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.9.16-50.fc15' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2011-17089/selinux-policy-3.9.16-50.fc15 then log in and leave karma (feedback).
selinux-policy-3.9.16-50.fc15 has been pushed to the Fedora 15 stable repository. If problems still persist, please make note of it in this bug report.