Last modified: 2014-08-04 02:49:15 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T70442, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 68442 - WMFLabs: "service diamond help" incorrectly says init.d is invoked and suggests itself as alternative
WMFLabs: "service diamond help" incorrectly says init.d is invoked and sugges...
Status: NEW
Product: Wikimedia Labs
Classification: Unclassified
Infrastructure (Other open bugs)
unspecified
All All
: Unprioritized trivial
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2014-07-23 15:37 UTC by Krinkle
Modified: 2014-08-04 02:49 UTC (History)
4 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Krinkle 2014-07-23 15:37:01 UTC
$ /etc/init.d/diamond status
Rather than invoking init scripts through /etc/init.d, use the service(8)
utility, e.g. service diamond status

Since the script you are attempting to invoke has been converted to an
Upstart job, you may also use the status(8) utility, e.g. status diamond
diamond stop/waiting
--

That makes sense.

Now:


$ service diamond
Usage: /etc/init.d/diamond COMMAND
---

$ service diamond help
Rather than invoking init scripts through /etc/init.d, use the service(8)
utility, e.g. service diamond help
---

Those look wrong.
Comment 1 Tim Landscheidt 2014-08-04 02:49:15 UTC
AFAICS, this only happens for "service diamond help":

| scfc@tools-login:~$ service diamond help
| Rather than invoking init scripts through /etc/init.d, use the service(8)
| utility, e.g. service diamond help

| The script you are attempting to invoke has been converted to an Upstart
| job, but help is not supported for Upstart jobs.
| scfc@tools-login:~$ service diamond start
| start: Rejected send message, 1 matched rules; type="method_call", sender=":1.150" (uid=2267 pid=19081 comm="start diamond ") interface="com.ubuntu.Upstart0_6.Job" member="Start" error name="(unset)" requested_reply="0" destination="com.ubuntu.Upstart" (uid=0 pid=1 comm="/sbin/init")
| scfc@tools-login:~$ service toolwatcher status
| toolwatcher start/running, process 868
| scfc@tools-login:~$ service toolwatcher help
| toolwatcher: unrecognized service
| scfc@tools-login:~$

The problem seems to be rooted upstream.

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links