Bug 543592
Summary: | SELinux is preventing /bin/bash "write" access on /var/log/prelink. | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | bastian.frank |
Component: | selinux-policy | Assignee: | Daniel Walsh <dwalsh> |
Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | medium | Docs Contact: | |
Priority: | low | ||
Version: | 12 | CC: | adamowicz.bartlomiej, andreabravetti, andre.ocosta, antifreeze2173, binstrom, blu3fed0ra, bob.king.1138, christopher, crozes.kevin, cryptoamity, dallan, davematel, dizeyah, dwalsh, dx2lee, erik, flora.chatz, gevsantos, grasmichael, habib.amouri, ian.cullen2308, jean-marin, jlbouras, john.mcgarrachan, joseph, jvdperk, lebosse.nicolas, livehydra, magargee, mail_zkj, mgrepl, minaharker80, mmiller6, mquinlan, ogldelphi, optimal_solution2000, paolo.fulvio, paulo, philip.avraam, raveekirann, redhat-bugzilla, remimasse, rivarda1, rohandhruva, schirume, sebastian_mnz, shahnavaz, smitna, tjhieronymus, wallace.ww, ygnalinux, yulrottmann, zju |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | i386 | ||
OS: | Linux | ||
Whiteboard: | setroubleshoot_trace_hash:ae0971ef586b72b8a7b2372bd97b8bfa526ef691ff688713a75571fc78f507f8 | ||
Fixed In Version: | 3.6.32-55.fc12 | Doc Type: | Bug Fix |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2009-12-07 22:47:39 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
bastian.frank
2009-12-02 17:27:49 UTC
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. I'm having a similar problem involving bash and prelink, only this time the unwritable file is /var/lib/misc/prelink.quick. node=localhost.localdomain type=AVC msg=audit(1260227522.816:42): avc: denied { write } for pid=16275 comm="prelink" name="prelink.quick" dev=dm-0 ino=60667 scontext=system_u:system_r:prelink_cron_system_t:s0-s0:c0.c1023 tcontext=system_u:object_r:cron_var_lib_t:s0 tclass=file node=localhost.localdomain type=AVC msg=audit(1260227522.816:42): avc: denied { open } for pid=16275 comm="prelink" name="prelink.quick" dev=dm-0 ino=60667 scontext=system_u:system_r:prelink_cron_system_t:s0-s0:c0.c1023 tcontext=system_u:object_r:cron_var_lib_t:s0 tclass=file node=localhost.localdomain type=SYSCALL msg=audit(1260227522.816:42): arch=c000003e syscall=2 success=yes exit=128 a0=16628e0 a1=241 a2=1b6 a3=0 items=0 ppid=16265 pid=16275 auid=0 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=2 comm="prelink" exe="/bin/bash" subj=system_u:system_r:prelink_cron_system_t:s0-s0:c0.c1023 key=(null) I already have selinux-policy-3.6.32-55.fc12.noarch installed. Should I apply the same workaround suggested on comment #1? Or should I file a separate bug report? restorecon -R -v /var/lib Should fix. Make sure you have selinux-policy-targeted-3.6.32-55.fc12 installed also |