system-tools-backends' init script lacks 'status' action

Bug #300743 reported by Steven Danna on 2008-11-21
8
Affects Status Importance Assigned to Milestone
system-tools-backends (Ubuntu)
Wishlist
Unassigned

Bug Description

Binary package hint: system-tools-backends

The init script for system-tools-backends should have a "status" action that returns the status of the daemon. A concerted effort is being made to add status actions to many Ubuntu services' init scripts: https://wiki.ubuntu.com/InitScriptStatusActions

I hope to submit a patch for this shortly after I get an LP bug number.

Steven Danna (ssd7) wrote :

This patch should add a status function to the init script. This was created using the directions found at https://wiki.ubuntu.com/InitScriptStatusActions ; however, I also changed debian/control.in.

Changed in system-tools-backends:
status: New → Confirmed
Chris Coulson (chrisccoulson) wrote :

StevenDanna - Thanks, but I think your patch should probably be targetted at Jaunty

Changed in system-tools-backends:
importance: Undecided → Wishlist
Changed in system-tools-backends:
status: Confirmed → Triaged
James Westby (james-w) wrote :

Hi,

We were just discussing the other day whether we really needed the
init script, or whether we can rely on dbus activation for the backends.

Thanks for your work, it would be good to have if that isn't the way to
go, but the fix for not having a status action may be to delete the
script altogether.

Thanks,

James

Dustin Kirkland  (kirkland) wrote :

Is there any update on the necessity of this init script, James?

I was considering sponsoring the patch that adds the status action. The whole init script can be removed subsequently, if that's the best course of action thereafter...

:-Dustin

On Tue, 2009-01-20 at 23:16 +0000, Dustin Kirkland wrote:
> Is there any update on the necessity of this init script, James?
>
> I was considering sponsoring the patch that adds the status action. The
> whole init script can be removed subsequently, if that's the best course
> of action thereafter...

I say go for it. No harm in having a status action as long as we have
an init script. Last I heard we were probably going to keep it anyway.

Thanks,

James

Launchpad Janitor (janitor) wrote :

This bug was fixed in the package system-tools-backends - 2.6.0-2ubuntu4

---------------
system-tools-backends (2.6.0-2ubuntu4) jaunty; urgency=low

  [Steven S Danna]
  * debian/control: Depend on lsb >= 3.2-14 in order to use the status_of_proc() function
  * debian/control.in: Depend on lsb >= 3.2-14
  * debian/system-tools-backends.init: Add the 'status' action (LP: #300743)

 -- Dustin Kirkland <email address hidden> Tue, 20 Jan 2009 20:56:28 -0500

Changed in system-tools-backends:
status: Triaged → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers