| Summary: | SELinux is preventing /usr/libexec/mysqld from 'module_request' accesses on the system Unknown. | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Fl@sh <alex.mail.1534> |
| Component: | selinux-policy | Assignee: | Miroslav Grepl <mgrepl> |
| Status: | CLOSED RAWHIDE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | medium | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | rawhide | CC: | dominick.grift, dwalsh, mgrepl |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | x86_64 | ||
| OS: | Linux | ||
| Whiteboard: | setroubleshoot_trace_hash:5f729b79adf833d9c8a09560df234e57309fc839c64142d47fc699a8f54ad0bf | ||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2011-07-19 12:29:37 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-3.10.0-7.fc16 |
SELinux is preventing /usr/libexec/mysqld from 'module_request' accesses on the system Unknown. ***** Plugin catchall_boolean (89.3 confidence) suggests ******************* If you want to allow all domains to have the kernel load modules Then you must tell SELinux about this by enabling the 'domain_kernel_load_modules' boolean. Do setsebool -P domain_kernel_load_modules 1 ***** Plugin catchall (11.6 confidence) suggests *************************** If you believe that mysqld should be allowed module_request access on the Unknown system by default. Then you should report this as a bug. You can generate a local policy module to allow this access. Do allow this access for now by executing: # grep mysqld /var/log/audit/audit.log | audit2allow -M mypol # semodule -i mypol.pp Additional Information: Source Context system_u:system_r:mysqld_t:s0 Target Context system_u:system_r:kernel_t:s0 Target Objects Unknown [ system ] Source mysqld Source Path /usr/libexec/mysqld Port <Неизвестно> Host (removed) Source RPM Packages mysql-server-5.5.14-2.fc15 Target RPM Packages Policy RPM selinux-policy-3.9.16-32.fc15 Selinux Enabled True Policy Type targeted Enforcing Mode Enforcing Host Name (removed) Platform Linux (removed) 2.6.38.8-35.fc15.x86_64 #1 SMP Wed Jul 6 13:58:54 UTC 2011 x86_64 x86_64 Alert Count 4 First Seen Сб. 16 июля 2011 15:52:36 Last Seen Вс. 17 июля 2011 11:05:56 Local ID f171e2c2-8968-402a-9bba-5114e46d5521 Raw Audit Messages type=AVC msg=audit(1310889956.425:29): avc: denied { module_request } for pid=1538 comm="mysqld" kmod="net-pf-10" scontext=system_u:system_r:mysqld_t:s0 tcontext=system_u:system_r:kernel_t:s0 tclass=system type=SYSCALL msg=audit(1310889956.425:29): arch=x86_64 syscall=socket success=no exit=EAFNOSUPPORT a0=a a1=2 a2=0 a3=9 items=0 ppid=1345 pid=1538 auid=4294967295 uid=27 gid=27 euid=27 suid=27 fsuid=27 egid=27 sgid=27 fsgid=27 tty=(none) ses=4294967295 comm=mysqld exe=/usr/libexec/mysqld subj=system_u:system_r:mysqld_t:s0 key=(null) Hash: mysqld,mysqld_t,kernel_t,system,module_request audit2allow #============= mysqld_t ============== #!!!! This avc can be allowed using the boolean 'domain_kernel_load_modules' allow mysqld_t kernel_t:system module_request; audit2allow -R #============= mysqld_t ============== #!!!! This avc can be allowed using the boolean 'domain_kernel_load_modules' allow mysqld_t kernel_t:system module_request;