| Summary: | SELinux is preventing mysqld from reading /bin/bash | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Vedran Miletić <vedran> |
| Component: | selinux-policy | Assignee: | Miroslav Grepl <mgrepl> |
| Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | medium | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 16 | CC: | deron.meranda, dietervandenbroeck, dominick.grift, dwalsh, mgrepl, o_ojo, richardfearn, thomas |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | x86_64 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | selinux-policy-3.10.0-56.fc16 | Doc Type: | Bug Fix |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2011-11-21 00:01:14 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
Fixed in selinux-policy-targeted-3.10.0-56.fc16 selinux-policy-3.10.0-56.fc16 has been submitted as an update for Fedora 16. https://admin.fedoraproject.org/updates/selinux-policy-3.10.0-56.fc16 *** Bug 754072 has been marked as a duplicate of this bug. *** selinux-policy-3.10.0-56.fc16 indeed ixes the bug. Problem solved I also confirm selinux-policy-3.10.0-56.fc16 fixes the bug. Using the targeted policy. Please update karma. *** Bug 753896 has been marked as a duplicate of this bug. *** Package selinux-policy-3.10.0-56.fc16: * should fix your issue, * was pushed to the Fedora 16 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.10.0-56.fc16' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2011-16003/selinux-policy-3.10.0-56.fc16 then log in and leave karma (feedback). selinux-policy-3.10.0-56.fc16 has been pushed to the Fedora 16 stable repository. If problems still persist, please make note of it in this bug report. *** Bug 755256 has been marked as a duplicate of this bug. *** |
$ rpm -qa | grep selinux selinux-policy-3.10.0-55.fc16.noarch libselinux-2.1.6-4.fc16.x86_64 libselinux-utils-2.1.6-4.fc16.x86_64 selinux-policy-targeted-3.10.0-55.fc16.noarch $ rpm -qa | grep bash bash-4.2.10-5.fc16.x86_64 bash-completion-1.3-6.fc16.noarch $ rpm -qa | grep mysql mysql-libs-5.5.17-1.fc16.x86_64 mysql-connector-odbc-5.1.8-3.fc16.x86_64 libdbi-dbd-mysql-0.8.3-8.fc16.x86_64 php-mysql-5.3.8-3.fc16.x86_64 mysql-server-5.5.17-1.fc16.x86_64 mysql-5.5.17-1.fc16.x86_64 [ 29.812719] type=1400 audit(1321255400.493:4): avc: denied { read } for pid=983 comm="mysqld_safe" path="/bin/bash" dev=sdb2 ino=1574183 scontext=system_u:system_r:mysqld_safe_t:s0 tcontext=system_u:object_r:shell_exec_t:s0 tclass=file [ 30.323227] type=1400 audit(1321255401.004:5): avc: denied { read } for pid=1011 comm="mysqld_safe" path="/bin/bash" dev=sdb2 ino=1574183 scontext=system_u:system_r:mysqld_safe_t:s0 tcontext=system_u:object_r:shell_exec_t:s0 tclass=file [ 30.811852] type=1400 audit(1321255401.492:6): avc: denied { read } for pid=1034 comm="mysqld_safe" path="/bin/bash" dev=sdb2 ino=1574183 scontext=system_u:system_r:mysqld_safe_t:s0 tcontext=system_u:object_r:shell_exec_t:s0 tclass=file [ 31.280162] type=1400 audit(1321255401.961:7): avc: denied { read } for pid=1058 comm="mysqld_safe" path="/bin/bash" dev=sdb2 ino=1574183 scontext=system_u:system_r:mysqld_safe_t:s0 tcontext=system_u:object_r:shell_exec_t:s0 tclass=file [ 31.751638] type=1400 audit(1321255402.432:8): avc: denied { read } for pid=1079 comm="mysqld_safe" path="/bin/bash" dev=sdb2 ino=1574183 scontext=system_u:system_r:mysqld_safe_t:s0 tcontext=system_u:object_r:shell_exec_t:s0 tclass=file [ 32.218039] type=1400 audit(1321255402.898:9): avc: denied { read } for pid=1099 comm="mysqld_safe" path="/bin/bash" dev=sdb2 ino=1574183 scontext=system_u:system_r:mysqld_safe_t:s0 tcontext=system_u:object_r:shell_exec_t:s0 tclass=file [ 33.300421] postgres (1187): /proc/1187/oom_adj is deprecated, please use /proc/1187/oom_score_adj instead.