Description of problem: while trying to fix mysqld fialed start SELinux is preventing /usr/bin/bash from 'open' accesses on the file /var/log/mysqld.log. ***** Plugin restorecon (99.5 confidence) suggests ************************* If you want to fix the label. /var/log/mysqld.log default label should be mysqld_log_t. Then you can run restorecon. Do # /sbin/restorecon -v /var/log/mysqld.log ***** Plugin catchall (1.49 confidence) suggests *************************** If you believe that bash should be allowed open access on the mysqld.log file 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_safe /var/log/audit/audit.log | audit2allow -M mypol # semodule -i mypol.pp Additional Information: Source Context system_u:system_r:mysqld_safe_t:s0 Target Context unconfined_u:object_r:var_log_t:s0 Target Objects /var/log/mysqld.log [ file ] Source mysqld_safe Source Path /usr/bin/bash Port <Unknown> Host (removed) Source RPM Packages bash-4.2.45-1.fc19.x86_64 Target RPM Packages Policy RPM selinux-policy-3.12.1-74.11.fc19.noarch Selinux Enabled True Policy Type targeted Enforcing Mode Enforcing Host Name (removed) Platform Linux (removed) 3.11.8-200.fc19.x86_64 #1 SMP Wed Nov 13 16:29:59 UTC 2013 x86_64 x86_64 Alert Count 3 First Seen 2013-11-18 23:13:41 ART Last Seen 2013-11-18 23:13:41 ART Local ID b612db0a-1641-41fc-a134-92732e6cc27c Raw Audit Messages type=AVC msg=audit(1384827221.273:356): avc: denied { open } for pid=7140 comm="mysqld_safe" path="/var/log/mysqld.log" dev="dm-1" ino=794944 scontext=system_u:system_r:mysqld_safe_t:s0 tcontext=unconfined_u:object_r:var_log_t:s0 tclass=file type=SYSCALL msg=audit(1384827221.273:356): arch=x86_64 syscall=open success=no exit=EACCES a0=2667db0 a1=401 a2=1b6 a3=0 items=0 ppid=1 pid=7140 auid=4294967295 uid=27 gid=27 euid=27 suid=27 fsuid=27 egid=27 sgid=27 fsgid=27 ses=4294967295 tty=(none) comm=mysqld_safe exe=/usr/bin/bash subj=system_u:system_r:mysqld_safe_t:s0 key=(null) Hash: mysqld_safe,mysqld_safe_t,var_log_t,file,open Additional info: reporter: libreport-2.1.9 hashmarkername: setroubleshoot kernel: 3.11.8-200.fc19.x86_64 type: libreport
*** This bug has been marked as a duplicate of bug 1031872 ***