upstart-job: refers to force-reload(8) instead of reload(8)
Bug #532862 reported by
Mark Sobell
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
upstart (Ubuntu) |
Fix Released
|
Low
|
Unassigned |
Bug Description
Running under 10.04 A3
mysql-server 5.1.41-3ubuntu7
The init.d/mysql script suggests using a program named force-reload.
That program does not exist.
Either the program should exist or the message should be changed.
See the following.
mark@A3:~$ sudo /etc/init.d/mysql force-reload
Rather than invoking init scripts through /etc/init.d, use the service(8)
utility, e.g. service mysql force-reload
Since the script you are attempting to invoke has been converted to an
Upstart job, you may also use the force-reload(8) utility, e.g. force-reload mysql
mark@A3:~$
mark@A3:~$ sudo force-reload mysql
sudo: force-reload: command not found
summary: |
- init.d script points to a program named force-reload, which does not - exist + upstart-job: refers to force-reload(8) instead of reload(8) |
Changed in upstart (Ubuntu): | |
status: | Triaged → Fix Committed |
Changed in upstart (Ubuntu): | |
status: | Fix Released → In Progress |
Changed in upstart (Ubuntu): | |
status: | In Progress → Fix Released |
To post a comment you must log in.
Actually, this is an Upstart issue, which I can confirm as of Upstart 0.6.5-4.
/etc/init.d/mysql is merely a symlink for the general file /lib/init/ upstart- job, which use the same case to catch both reload and force-reload, using the variable COMMAND to refer to the actual command being used.
Not sure if the solution is to teach initctl about force-reload or if /lib/init/ upstart- job should be rewritten to give a more proper response.