Fedora Account System
Red Hat Associate
Red Hat Customer
Summary: SELinux is preventing /bin/cp "relabelfrom" access on /var/lib/misc/prelink.quick. Detailed Description: [cp has a permissive type (prelink_cron_system_t). This access was not denied.] SELinux denied access requested by cp. It is not expected that this access is required by cp and this access may signal an intrusion attempt. It is also possible that the specific version or configuration of the application is causing it to require additional access. Allowing Access: You can generate a local policy module to allow this access - see FAQ (http://fedora.redhat.com/docs/selinux-faq-fc5/#id2961385) Please file a bug report. Additional Information: Source Context system_u:system_r:prelink_cron_system_t:s0-s0:c0.c 1023 Target Context system_u:object_r:prelink_var_lib_t:s0 Target Objects /var/lib/misc/prelink.quick [ file ] Source cp Source Path /bin/cp Port <Unknown> Host (removed) Source RPM Packages coreutils-7.6-7.fc12 Target RPM Packages prelink-0.4.2-4.fc12 Policy RPM selinux-policy-3.6.32-49.fc12 Selinux Enabled True Policy Type targeted Enforcing Mode Enforcing Plugin Name catchall Host Name (removed) Platform Linux (removed) 2.6.31.6-145.fc12.i686.PAE #1 SMP Sat Nov 21 16:12:37 EST 2009 i686 i686 Alert Count 2 First Seen St 2. december 2009, 12:46:08 CET Last Seen St 2. december 2009, 12:46:08 CET Local ID 9413f22d-6c6e-4f54-a6d2-34e6b2dc9b21 Line Numbers Raw Audit Messages node=(removed) type=AVC msg=audit(1259754368.429:33): avc: denied { relabelfrom } for pid=11469 comm="cp" name="prelink.quick" dev=dm-0 ino=703 scontext=system_u:system_r:prelink_cron_system_t:s0-s0:c0.c1023 tcontext=system_u:object_r:prelink_var_lib_t:s0 tclass=file node=(removed) type=AVC msg=audit(1259754368.429:33): avc: denied { relabelto } for pid=11469 comm="cp" name="prelink.quick" dev=dm-0 ino=703 scontext=system_u:system_r:prelink_cron_system_t:s0-s0:c0.c1023 tcontext=system_u:object_r:prelink_var_lib_t:s0 tclass=file node=(removed) type=SYSCALL msg=audit(1259754368.429:33): arch=40000003 syscall=228 success=yes exit=0 a0=5 a1=d909cd a2=8195498 a3=27 items=0 ppid=11462 pid=11469 auid=0 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=2 comm="cp" exe="/bin/cp" subj=system_u:system_r:prelink_cron_system_t:s0-s0:c0.c1023 key=(null) Hash String generated from selinux-policy-3.6.32-49.fc12,catchall,cp,prelink_cron_system_t,prelink_var_lib_t,file,relabelfrom audit2allow suggests: #============= prelink_cron_system_t ============== allow prelink_cron_system_t prelink_var_lib_t:file { relabelfrom relabelto };
You can add these rules for now using # grep avc /var/log/audit/audit.log | audit2allow -M mypol # semodule -i mypol.pp Fixed in selinux-policy-3.6.32-53.fc12.noarch
selinux-policy-3.6.32-55.fc12 has been submitted as an update for Fedora 12. http://admin.fedoraproject.org/updates/selinux-policy-3.6.32-55.fc12
selinux-policy-3.6.32-55.fc12 has been pushed to the Fedora 12 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: http://admin.fedoraproject.org/updates/F12/FEDORA-2009-12650
selinux-policy-3.6.32-55.fc12 has been pushed to the Fedora 12 stable repository. If problems still persist, please make note of it in this bug report.