[MXS-684] Password field still used with MySQL 5.7 Created: 2016-04-22 Updated: 2016-04-29 Resolved: 2016-04-25 |
|
| Status: | Closed |
| Project: | MariaDB MaxScale |
| Component/s: | Core |
| Affects Version/s: | 1.4.1 |
| Fix Version/s: | 1.4.2 |
| Type: | Bug | Priority: | Minor |
| Reporter: | Onno Steenbergen | Assignee: | markus makela |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Environment: |
Debian GNU/Linux 8.2 (jessie) |
||
| Description |
|
2016-04-22 10:59:31 info : Started session [0] for Read-Only Service service In server/core/dbusers.c the function check_service_permissions still uses the hardcoded password field: if (mysql_query(mysql, "SELECT user, host, password,Select_priv FROM mysql.user limit 1") != 0) |
| Comments |
| Comment by markus makela [ 2016-04-25 ] | ||||||||||||
|
The permission check queries now use the proper column name. | ||||||||||||
| Comment by Gabe Martin-Dempesy [ 2016-04-29 ] | ||||||||||||
|
This change is causing 1.4.2 to regularly Fatal signal 11 during startup. gdb is giving me the following backtrace:
It looks like server_string is NULL, and this is a race against the monitor thread which normally sets the string? | ||||||||||||
| Comment by Gabe Martin-Dempesy [ 2016-04-29 ] | ||||||||||||
|
I see this is actually already fixed in a separate release branch for 1.4.3: https://github.com/mariadb-corporation/MaxScale/commit/b26592c8661750719d540a7b6fc96535dfb7d428 Markus, do you have a short summary on the MaxScale's branch workflow? I was expecting to find the latest changes in 'develop', but it looks like these 1.4.x release are coming off of 'master', which diverged from 'develop' in early March. |