Server crashes on startup if plugin is unable to create file pointed by --audit_log_file
Affects | Status | Importance | Assigned to | Milestone | ||
---|---|---|---|---|---|---|
Percona Server moved to https://jira.percona.com/projects/PS | Status tracked in 5.7 | |||||
5.5 |
Invalid
|
Undecided
|
Unassigned | |||
5.6 |
Fix Released
|
High
|
Sergei Glushchenko | |||
5.7 |
Fix Released
|
High
|
Sergei Glushchenko |
Bug Description
Thanks to Krunal for pointing me out in comments to the bug 1641910
First, set up datadir as follows:
./sql/mysqld --initialize-
Then, run mysql with the command:
./sql/mysqld --datadir=
It will report an error
2017-02-
mysqld: File './data-
2017-02-
2017-02-
2017-02-
2017-02-
and then crash in audit_log_
The error message is correct since 'audit_log_file' is relative to datadir in this context, but crash should not happen. Server must shutdown correctly.
affects: | percona-xtradb-cluster → percona-server |
tags: | added: audit |
https:/ /github. com/percona/ percona- server/ pull/1450 /github. com/percona/ percona- server/ pull/1451
https:/