Bug #28962 mysqlnetworkctl.sh is not chkconfig compatible
Submitted: 7 Jun 2007 21:48 Modified: 13 Jan 2015 17:30
Reporter: Harrison Fisk Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Enterprise Monitor: Installing Severity:S4 (Feature request)
Version:1.1.0 OS:Linux (Red Hat and similar systems)
Assigned to: CPU Architecture:Any

[7 Jun 2007 21:48] Harrison Fisk
Description:
The mysqlnetworkctl.sh script functions as an init.d script by accepting the 'start', 'stop', and 'restart' parameters.  However, it does not have the neccesary header comments in order for chkconfig to handle it as a service automatically.  For example, compare it to the etc/init.d/mysql-service-agent that comes with the agent install and you can see what is lacking in the header.

How to repeat:
1.  Copy the mysqlnetworkctl.sh to the /etc/init.d directory

2.  Run chkconfig --add mysqlnetworkctl.sh

Get an error similar to:

service mysqlnetworkctl.sh does not support chkconfig

Suggested fix:
Add the neccesary headers to the mysqlnetworkctl.sh script or create a new init.d script to use with the dashboard service.
[12 Aug 2008 22:09] Gary Pendergast
Fix is, add these lines to the top of mysqlmonitorctl.sh:

# Red Hat Linux chkconfig support
# chkconfig: 2345 50 40
# description: Start the MySQL Enterprise Monitor Dashboard
[17 Dec 2014 6:44] Daniƫl van Eeden
This seems to be fixed some time ago. I've checked 3.0.15.3058.

So this bug can be closed?
[13 Jan 2015 17:30] Andy Bang
This was fixed long ago. I'm not sure when, though, so I can't be more specific.