[MDEV-4509] mysql init script should accept arguments Created: 2013-05-10 Updated: 2014-03-04 Resolved: 2013-06-13 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | None |
| Affects Version/s: | 10.0.2, 5.5.30, 5.5.29-galera |
| Fix Version/s: | 10.0.4, 5.5.32 |
| Type: | Bug | Priority: | Major |
| Reporter: | Kolbe Kegel (Inactive) | Assignee: | Sergei Golubchik |
| Resolution: | Fixed | Votes: | 1 |
| Labels: | None | ||
| Environment: |
Debian, Ubuntu |
||
| Issue Links: |
|
||||||||||||||||||||
| Description |
|
The /etc/init.d/mysql script does not accept any arguments, even though the "service" tool on those platforms does accept arguments/"OPTIONS" these days. This is particularly problematic in the case of Galera, for example, where you may occasionally need to pass --wsrep-cluster-address=gcomm:// to bootstrap a cluster. This issue is very easily resolved by replacing this line:
with this one:
|
| Comments |
| Comment by Tomas Gustavsson [ 2013-05-11 ] | ||||
|
I believe | ||||
| Comment by Tomas Gustavsson [ 2013-05-14 ] | ||||
|
Verified that the patch with: /usr/bin/mysqld_safe "${@:2}" > /dev/null 2>&1 & works fine. works great. | ||||
| Comment by Elena Stepanova [ 2013-05-22 ] | ||||
|
Not really sure who it should belong to, please reassign if needed. It's more generic than | ||||
| Comment by Elena Stepanova [ 2013-06-11 ] | ||||
|
Raising the priority due to upcoming 5.5.31-galera release, since it should be easy and safe to fix. | ||||
| Comment by Daniel Black [ 2014-03-04 ] | ||||
|
seems to be fixed
|