list of services in services-admin is not extensible

Bug #115199 reported by Wolfgang Glas
32
This bug affects 1 person
Affects Status Importance Assigned to Milestone
GST
Fix Released
Wishlist
gnome-system-tools (Ubuntu)
Fix Released
Wishlist
Ubuntu Desktop Bugs

Bug Description

Binary package hint: gnome-system-tools

I was pounding my head against a wall for a few hours trying to get my own lsb-conformant init.d-script listed in services-admin.
After a while, I discovered that services-admin uses a hardcoded list of supported services in src/common/gst-service-role.c, which is not a feasible solution for providers of ubuntu add-on packages.

Thus, services-admin should keep a list of service either in a cache located in /var or it should scn /etc/init.d for script using lsb-conformant INIT INFO - comments.
Alternatively, a mechanism could be provided to register a new service to seervices-admin in a deb-postinst script. Such a mechanism supposedly should handle internationalization of service descriptions and custom icons .

Revision history for this message
Sebastien Bacher (seb128) wrote :

Thanks for your bug report. This bug has been reported to the developers of the software. You can track it and make comments here: http://bugzilla.gnome.org/show_bug.cgi?id=440220

Changed in gnome-system-tools:
assignee: nobody → desktop-bugs
importance: Undecided → Wishlist
status: Unconfirmed → Confirmed
Changed in rebuntu:
status: Unconfirmed → Rejected
Changed in gst:
status: Unknown → Unconfirmed
Revision history for this message
Milan Bouchet-Valat (nalimilan) wrote :

This will be fixed with 2.29.90, it will be in Lucid.

Changed in gnome-system-tools (Ubuntu):
status: Confirmed → Triaged
Revision history for this message
Milan Bouchet-Valat (nalimilan) wrote :

Maybe I should be a little more explicit: what you suggest in the bug description is not implemented, that would require a full specification, plus discussions with Upstart developers and people from other distributions (even LSB?). For now I've simply allowed unknown services to be shown in the list only with their name. No icon nor description sadly, because getting translations would be really complex - but that's good enough if users know about your service.

Revision history for this message
Milan Bouchet-Valat (nalimilan) wrote :

Fix released upstream with the gnome-system-tools 2.29.90 and system-tools-backends 2.9.2.

Revision history for this message
Martin Mai (mrkanister-deactivatedaccount-deactivatedaccount) wrote :

This should be fixed in Ubuntu 10.04. Thanks for reporting.

Changed in gnome-system-tools (Ubuntu):
status: Triaged → Fix Released
Revision history for this message
Martin Mai (mrkanister-deactivatedaccount-deactivatedaccount) wrote :

Or rather I meant to say services-admin has been removed from Ubuntu because of upstart. See bug #433701.

Revision history for this message
Milan Bouchet-Valat (nalimilan) wrote :

And anyway it's fixed upstream, if we bring back services-admin at some point (there's a Summer of Code project about Upstart support).

Changed in gst:
importance: Unknown → Wishlist
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.