[MDEV-8607] [PATCH] Init script doesn't check all applicable configuration groups Created: 2015-08-12 Updated: 2015-12-08 Resolved: 2015-12-08 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | Scripts & Clients |
| Affects Version/s: | 5.5.45, 10.0.21, 10.1.6 |
| Fix Version/s: | 5.5.47, 10.0.23, 10.1.10 |
| Type: | Bug | Priority: | Major |
| Reporter: | Geoff Montee (Inactive) | Assignee: | Sergei Golubchik |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Description |
|
The mysql.server init script doesn't check all server configuration groups. This happens because it uses the following arguments to "my_print_defaults": /usr/bin/my_print_defaults mysqld server mysql_server mysql.server This causes a problem because the mysql.server script needs to use some of the server configuration options, such as datadir. For example, let's say we have the following configuration file:
What does my_print_defaults give us with the arguments that mysql.server uses? Nothing, because it doesn't check the mariadb-10.0 configuration group:
If we instead use the --mysqld argument, then it finds the correct settings:
A side-effect of this bug is that you can't set datadir in the mariadb-10.0 configuration group.
|
| Comments |
| Comment by Geoff Montee (Inactive) [ 2015-08-12 ] |
|
Pull request for 5.5 is here: https://github.com/MariaDB/server/pull/92 |