postgresql isnt shown in "Services Settings"

Bug #214496 reported by shemgp
18
This bug affects 1 person
Affects Status Importance Assigned to Milestone
GST
Fix Released
Medium
gnome-system-tools (Ubuntu)
Fix Released
Low
Martin Pitt

Bug Description

Description: Ubuntu hardy (development branch)
Release: 8.04 after beta

PostgreSQL 8.3 is installed and working (able to connect & manipulate databases), but it is not shown in System->Administrator->Services. I was able to see it somewhat as "Database (Postgresql)" before i upgraded from gutsy.

Here are the versions of packages that i think are relevant.

postgresql:
  Installed: 8.3.1-1
  Candidate: 8.3.1-1
  Version table:
 *** 8.3.1-1 0
        500 http://archive.ubuntu.com hardy/main Packages
        100 /var/lib/dpkg/status

gnome-system-tools:
  Installed: 2.22.0-0ubuntu7
  Candidate: 2.22.0-0ubuntu7
  Version table:
 *** 2.22.0-0ubuntu7 0
        500 http://archive.ubuntu.com hardy/main Packages
        100 /var/lib/dpkg/status
     2.22.0-0ubuntu3 0
        500 cdrom://Ubuntu 8.04 _Hardy Heron_ - Beta i386 (20080318.1) hardy/main Packages

Thanks for your hard work on hardy!! :) Looking forward to a great release.

Revision history for this message
Martin Pitt (pitti) wrote :

This needs to be added to /usr/share/system-tools-backends-2.0/scripts/Init/ServicesList.pm.

Changed in postgresql-8.3:
importance: Undecided → Low
status: New → Triaged
Revision history for this message
Martin Pitt (pitti) wrote :

Hm, in fact adding it there does not even help. I don't know how to fix this, sorry. Carlos, do you have an idea?

Changed in system-tools-backends:
status: Triaged → New
Revision history for this message
Carlos Garnacho (carlosg) wrote :

Hrm, I think I should have removed that file a *long* time ago, I thought I did, sorry about that :)

Since s-t-b 2.x, the backends no longer tries to guess the service type (had multiple i18n issues, there still had to be matching code in the frontend to show things properly, etc), so the supported services list is now in gnome-system-tools/src/common/gst-service-role.[ch], I guess it's missing a new line for postgresql-8.3.

Revision history for this message
Martin Pitt (pitti) wrote :

Thanks, Carlos!

Revision history for this message
Daniel Kończyk (drmartens) wrote :

Any chance to get this one fixed? It looks trivial... It appears to be exactly what Carlos suggested in his last comment - a missing line in gnome-system-tools/src/common/gst-service-role.c right below
{ "postgresql-8.2", GST_ROLE_DATABASE_SERVER },

I haven't tried that, but that's the only reference to postgresql in the package source...

Revision history for this message
Martin Pitt (pitti) wrote :

I'll have a look at this.

Changed in gnome-system-tools:
assignee: nobody → pitti
status: New → In Progress
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package gnome-system-tools - 2.22.1-0ubuntu2

---------------
gnome-system-tools (2.22.1-0ubuntu2) jaunty; urgency=low

  * Add 92_postgresql_versions.patch: Add postgresql-8.3 package, and also
    some future versions (8.4/8.5/9.0) to cover future backports.
    (LP: #214496)

 -- Martin Pitt <email address hidden> Mon, 10 Nov 2008 17:43:33 +0100

Changed in gnome-system-tools:
status: In Progress → Fix Released
Changed in gst:
status: Unknown → New
Changed in gst:
importance: Unknown → Medium
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.