Fedora Account System
Red Hat Associate
Red Hat Customer
Summary: SELinux is preventing /bin/cp "read" access on /var/lib/misc/prelink.full. 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.full [ 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 1 First Seen St 2. december 2009, 12:46:08 CET Last Seen St 2. december 2009, 12:46:08 CET Local ID 141e6364-2474-4be6-aba8-18c91c903641 Line Numbers Raw Audit Messages node=(removed) type=AVC msg=audit(1259754368.428:32): avc: denied { read } for pid=11469 comm="cp" name="prelink.full" dev=dm-0 ino=702 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.428:32): arch=40000003 syscall=5 success=yes exit=4 a0=bfa11f26 a1=28000 a2=0 a3=bfa11f26 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,read audit2allow suggests: #============= prelink_cron_system_t ============== allow prelink_cron_system_t prelink_var_lib_t:file read;
Fixed in selinux-policy-3.6.32-52.fc12.noarch yum update selinux-policy-targeted --enablerepo=updatest-testing
[root@...]# yum update selinux-policy-targeted --enablerepo=updatest-testing Loaded plugins: presto, refresh-packagekit Error getting repository data for updatest-testing, repository not found ???
Created attachment 375831 [details] my messages received from SELinux related (I think) to this bug
John Murphy: updates-testing not updatest-testing