Zusammenfassung: SELinux is preventing /bin/rm "write" access on /var/lib/misc. Detaillierte Beschreibung: [rm hat einen toleranten Typ (prelink_cron_system_t). Dieser Zugriff wurde nicht verweigert.] SELinux denied access requested by rm. It is not expected that this access is required by rm 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. Zugriff erlauben: 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. Zusätzliche Informationen: Quellkontext system_u:system_r:prelink_cron_system_t:s0-s0:c0.c 1023 Zielkontext system_u:object_r:var_lib_t:s0 Zielobjekte /var/lib/misc [ dir ] Quelle rm Quellen-Pfad /bin/rm Port <Unbekannt> Host (removed) Quellen-RPM-Pakete coreutils-7.6-7.fc12 Ziel-RPM-Pakete filesystem-2.4.30-2.fc12 RPM-Richtlinie selinux-policy-3.6.32-49.fc12 SELinux aktiviert True Richtlinienversion targeted Enforcing-Modus Enforcing Plugin-Name catchall Hostname (removed) Plattform Linux (removed) 2.6.31.6-145.fc12.x86_64 #1 SMP Sat Nov 21 15:57:45 EST 2009 x86_64 x86_64 Anzahl der Alarme 3 Zuerst gesehen Do 26 Nov 2009 17:15:36 CET Zuletzt gesehen Do 26 Nov 2009 17:15:36 CET Lokale ID bcdfe699-fb2a-41bd-9f0a-5fc5742bbe85 Zeilennummern Raw-Audit-Meldungen node=(removed) type=AVC msg=audit(1259252136.735:22965): avc: denied { write } for pid=20115 comm="rm" name="misc" dev=sda3 ino=57347 scontext=system_u:system_r:prelink_cron_system_t:s0-s0:c0.c1023 tcontext=system_u:object_r:var_lib_t:s0 tclass=dir node=(removed) type=AVC msg=audit(1259252136.735:22965): avc: denied { remove_name } for pid=20115 comm="rm" name="prelink.force" dev=sda3 ino=2284 scontext=system_u:system_r:prelink_cron_system_t:s0-s0:c0.c1023 tcontext=system_u:object_r:var_lib_t:s0 tclass=dir node=(removed) type=AVC msg=audit(1259252136.735:22965): avc: denied { unlink } for pid=20115 comm="rm" name="prelink.force" dev=sda3 ino=2284 scontext=system_u:system_r:prelink_cron_system_t:s0-s0:c0.c1023 tcontext=system_u:object_r:var_lib_t:s0 tclass=file node=(removed) type=SYSCALL msg=audit(1259252136.735:22965): arch=c000003e syscall=263 success=yes exit=0 a0=ffffffffffffff9c a1=7fffbfa16f3d a2=0 a3=7fffbfa14e80 items=0 ppid=20112 pid=20115 auid=0 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=1 comm="rm" exe="/bin/rm" 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,rm,prelink_cron_system_t,var_lib_t,dir,write audit2allow suggests: #============= prelink_cron_system_t ============== allow prelink_cron_system_t var_lib_t:dir { write remove_name }; allow prelink_cron_system_t var_lib_t:file unlink;
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-52.fc12.noarch
*** Bug 541693 has been marked as a duplicate of this bug. ***
*** Bug 541695 has been marked as a duplicate of this bug. ***
*** Bug 541696 has been marked as a duplicate of this bug. ***
selinux-policy-3.6.32-52.fc12 has been submitted as an update for Fedora 12. http://admin.fedoraproject.org/updates/selinux-policy-3.6.32-52.fc12
selinux-policy-3.6.32-52.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-12549
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.
selinux-policy-3.6.32-120.fc12 has been submitted as an update for Fedora 12. http://admin.fedoraproject.org/updates/selinux-policy-3.6.32-120.fc12
selinux-policy-3.6.32-120.fc12 has been pushed to the Fedora 12 stable repository. If problems still persist, please make note of it in this bug report.