ius-coredev team mailing list archive
-
ius-coredev team
-
Mailing list archive
-
Message #04738
[Bug 1390900] Re: mysql56u init script status doesn't check PID
# cat /etc/redhat-release
CentOS release 6.5 (Final)
# egrep 'mysql(56u)?-server' /var/log/yum.log
Feb 15 03:27:09 Updated: mysql-server-5.1.73-3.el6_5.x86_64
Nov 09 01:34:37 Installed: mysql56u-server-5.6.21-1.el6.x86_64
--
You received this bug notification because you are a member of IUS Core
Development, which is subscribed to IUS Community Project.
https://bugs.launchpad.net/bugs/1390900
Title:
mysql56u init script status doesn't check PID
Status in IUS Community Project:
New
Bug description:
On CentOS/RedHat el6, standard MySQL init script has the following
'status' code:
status)
status -p "$mypidfile" $prog
;;
In mysql56u-server package, you removed '-p "$mypidfile"' code, and
that makes script wrongly assume MySQL is running if any mysqld
instance is found on the machine.
This poses a problem if one runs MySQL through RedHat Cluster Suite,
and not through classic init script.
I'm attaching the patch that fixes the issue.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ius/+bug/1390900/+subscriptions
References