[MDEV-24130] Cannot launch mariadbd via mysqld_safe Created: 2020-11-04 Updated: 2020-11-11 Resolved: 2020-11-10 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | Scripts & Clients |
| Fix Version/s: | 10.3.28, 10.4.18, 10.5.9 |
| Type: | Task | Priority: | Major |
| Reporter: | Tomohiro KATO | Assignee: | Anel Husakovic |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Issue Links: |
|
||||||||||||||||
| Description |
|
https://github.com/MariaDB/server/commit/95bb3cb886cb64be3ee5ace660bb78618dd4c1d0 A function "my_which" is not implemented in mysqld_safe of mariadb-10.5. |
| Comments |
| Comment by Daniel Black [ 2020-11-04 ] | |||||||||||
|
Apologies. Does changing "my_which" -> "which" work correctly? | |||||||||||
| Comment by Tomohiro KATO [ 2020-11-04 ] | |||||||||||
|
Yes. I changed "my_which" to "which". Then mysqld_safe worked as expected. Thanks. | |||||||||||
| Comment by Anel Husakovic [ 2020-11-05 ] | |||||||||||
|
danblack we can change my_which to which (solution 1)but there are other usecases in mysql_safe which are using my_which where additional check of IFS variable used and I'm planning to stick to this (so no solution 1). | |||||||||||
| Comment by Tomohiro KATO [ 2020-11-05 ] | |||||||||||
I'm using Vine Linux and MariaDB-10.5.7.
"my_which" does not exist after 10.2. It shouldn't work. | |||||||||||
| Comment by Anel Husakovic [ 2020-11-05 ] | |||||||||||
|
So what is the output of which ldconfig ? | |||||||||||
| Comment by Anel Husakovic [ 2020-11-05 ] | |||||||||||
|
Oh I was looking into 10.2 | |||||||||||
| Comment by Anel Husakovic [ 2020-11-05 ] | |||||||||||
|
So based on patch 355ee6877bec we should change it to command -v from 10.3+. | |||||||||||
| Comment by Anel Husakovic [ 2020-11-05 ] | |||||||||||
| Comment by Tomohiro KATO [ 2020-11-05 ] | |||||||||||
|
I applied the patch and mysqld_safe worked properly. Thanks. | |||||||||||
| Comment by Daniel Black [ 2020-11-06 ] | |||||||||||
|
Looks good to me. I've pushed to a bb branch bb-10.3-anel-
Merge after seeing bb passing with no failures attributable to this change. | |||||||||||
| Comment by Anel Husakovic [ 2020-11-10 ] | |||||||||||
|
Reviewed by danblack (missing information in commit message, sorry). |