[MDEV-4508] Ubuntu (possible debian) /etc/init.d/mysql problem Created: 2013-05-10  Updated: 2013-08-28  Resolved: 2013-08-28

Status: Closed
Project: MariaDB Server
Component/s: None
Affects Version/s: 5.5.29-galera
Fix Version/s: 5.5.32-galera

Type: Bug Priority: Major
Reporter: Johan Assignee: Alexey Botchkov
Resolution: Fixed Votes: 0
Labels: None
Environment:

ubuntu 12.04
Linux server01 3.2.0-41-generic #66-Ubuntu SMP Thu Apr 25 03:27:11 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux


Issue Links:
Duplicate
is duplicated by MDEV-4509 mysql init script should accept argum... Closed
Relates
relates to MDEV-4253 service mysql start --wsrep-cluster-a... Closed
relates to MDEV-4253 service mysql start --wsrep-cluster-a... Closed

 Description   

Hi,

I cannot do:

sudo service mysql start --wsrep_cluster_address=gcomm://

Becauase the /etc/init.d/mysql script supplied in mariadb-galera-server-5.5 does not take any mysql options.

The /etc/init.d/mysql script, in the start) function calls mysqld_safe like this , line 109:

/usr/bin/mysqld_safe > /dev/null 2>&1 &

However, it would be great if it could behave like this (From your yum repos) .. :
$bindir/mysqld_safe --datadir="$datadir" --pid-file="$mysqld_pid_file_path" $other_args >/dev/null 2>&1 &

.. which i think is the proper way!

Best regards
Johan



 Comments   
Comment by Johan [ 2013-05-10 ]

I should also say, i have found this on ubuntu, but perhaps also debian is affected.

BR
johan

Comment by Kolbe Kegel (Inactive) [ 2013-05-10 ]

Oops, I just opened https://mariadb.atlassian.net/browse/MDEV-4509 which is definitely a duplicate of this. The appropriate fix is described in that other report, but I'll repeat it here:

/usr/bin/mysqld_safe "${@:2}" > /dev/null 2>&1 &

Comment by Elena Stepanova [ 2013-05-10 ]

See also MDEV-4253

Comment by Rasmus Johansson (Inactive) [ 2013-08-28 ]

Reopened to be able to move to correct fix version

Generated at Thu Feb 08 06:56:58 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.