upstart-job: refers to force-reload(8) instead of reload(8)

Bug #532862 reported by Mark Sobell on 2010-03-05
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
upstart (Ubuntu)
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

Andreas Olsson (andol) wrote :

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.

affects: mysql-dfsg-5.1 (Ubuntu) → upstart (Ubuntu)
Changed in upstart (Ubuntu):
importance: Undecided → Low
status: New → Triaged
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
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package upstart - 0.6.6-1

---------------
upstart (0.6.6-1) maverick; urgency=low

  * New upstream release:
    - All changes were previously merged into this package.

  * debian/upstart-job:
    - Fix output for the force-reload command to only refer to reload(8).
      LP: #532862.

  * Add debian/source/format with "1.0" to be future compatible.
  * Add missing ${misc:Depends}.
  * Bump standards version.
  * Convert rules to dh7 format.
 -- Scott James Remnant <email address hidden> Tue, 27 Apr 2010 13:41:18 -0700

Changed in upstart (Ubuntu):
status: Fix Committed → Fix Released
Jorge (jorgeeb4) on 2010-06-21
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.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers