please drop gnome-power-manager dependency

Bug #82898 reported by Martin Pitt
8
Affects Status Importance Assigned to Milestone
gnome-session (Ubuntu)
Fix Released
Wishlist
Ubuntu Desktop Bugs

Bug Description

Binary package hint: gnome-session

gnome-session currently depends on gnome-power-manager, which seems a bit odd. Since g-p-m is fairly useless on desktop machines, it should be uninstallable without breaking half of gnome.

Would it be possible to drop that to a Recommends: or Suggests:?

Thank you!

Martin Pitt (pitti)
Changed in gnome-session:
importance: Undecided → Low
Revision history for this message
Sebastien Bacher (seb128) wrote :

Recommends looks about right for it, it's pretty useful since it provides suspend and hibernate

Changed in gnome-session:
assignee: nobody → desktop-bugs
importance: Low → Wishlist
status: Unconfirmed → Confirmed
Revision history for this message
Peter Clifton (pcjc2) wrote :

Doesn't this cause lockups with the logout dialog if g-p-m is missing?

I've just spent some time chasing a bug (which I'm about to file) where my logout dialog hangs X11 (with a screen-shot its about to fade) for about 50 seconds whilst it tries to find g-p-m on its old DBUS name. (Gutsy). The new g-p-m has a different DBUS-path, so that needs changing.

I'm going to file a bug against gnome-session regarding the change of path in g-p-m, and hopefully just add my other "bug" as a comment here:

gnome-session should not hang trying to communicate with g-p-m !!

PS - from the app (gnome-session-save)'s point of view, the hangup is seen whilst accessing /tmp/.ICE-unix/{session_manager_pid}. A strace of gnome-session identifies the real hangup.

Revision history for this message
Cyr4x (marcinwlo) wrote :

Yes! I've got the same issue. Hangup for about a minute.

Revision history for this message
erthourcery (gregg-opensourcery) wrote :

The forced installation of gnome-power-manager negatively impacts LTSP terminals, and really has no place in that environment...

ie, syslog entries:
Nov 10 11:43:53 ... gnome-power-manager: (...) This program cannot start until you start the dbus system service. It is <b>strongly recommended</b> you reboot your computer after starting this service.

Service had been restarted a long time ago...can we at least make gnome-power-manager a "suggests" instead of "require"?

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

When I do "killall gnome-power-manager" and thus g-p-m is not running, the panel notices this and presents the shutdown dialog without suspend/resume (shutdown/reboot is done through consolekit). Restarting the panel after this also works without any delays.

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

In Intrepid, gnome-session does not depend on gnome-power-manager any more. It's just the *-desktop metapackages which pull it in, which seems correct to me.

Changed in gnome-session:
status: Confirmed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

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