Timeline for MySQL SystemD Logfile Permission Denied
Current License: CC BY-SA 3.0
6 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Apr 18, 2018 at 17:25 | comment | added | Copernicus | @A.B You were right about the SELinux permissions. Thanks for the help. | |
Apr 18, 2018 at 17:24 | answer | added | Copernicus | timeline score: 1 | |
Apr 18, 2018 at 16:59 | comment | added | A.B |
And a complimentary chcon (before correction) or restorecon (once fixed) could help. chcon -v --reference=/var/log/mysql.log /var/log/mysqld.err
|
|
Apr 18, 2018 at 16:50 | comment | added | A.B |
Did you check SELinux permissions? If its log is hardcoded in an SELinux rule, you'd have to add an other for your new file. looking at the file /var/log/audit/audit.log for denied entries as well as checking what gives semanage fcontext --list |grep mysql would give some informations about this
|
|
Apr 18, 2018 at 16:24 | review | First posts | |||
Apr 18, 2018 at 16:47 | |||||
Apr 18, 2018 at 16:23 | history | asked | Copernicus | CC BY-SA 3.0 |