XFCE4-Session doesn't use the ConsoleKit interface to shutdown or reboot

Bug #496423 reported by Mario Limonciello
26
This bug affects 3 people
Affects Status Importance Assigned to Milestone
Xfce4 Session
Unknown
Unknown
xfce4-session (Ubuntu)
Fix Released
Medium
Unassigned
Maverick
Won't Fix
Medium
Martin Pitt

Bug Description

Binary package hint: xfce4-session

The current XFCE4-Session in Lucid (4.6.1) is using HAL to perform reboots and halts when selected from the menus. HAL is going away from being a supported app for shutdown or reboot in Ubuntu during the Lucid development cycle.

XFCE4-session should migrate to using the ConsoleKit interface to perform these shutdown and reboots.

description: updated
summary: - XFCE4-Session doesn't use the GDM interface to shutdown or reboot
+ XFCE4-Session doesn't use the ConsoleKit interface to shutdown or reboot
Revision history for this message
MarcRandolph (mrand) wrote :

Moving to triaged since upstream bug has been opened

Changed in xfce4-session (Ubuntu):
importance: Undecided → Medium
status: New → Triaged
tags: added: resolved-4.8
Revision history for this message
Charlie Kravetz (cjkgeek) wrote :

The xfce bug has been signed off as fixed/resolved in git. This should be fixed in xfce 4.8 when released.

Changed in xfce4-session (Ubuntu):
status: Triaged → Fix Committed
Changed in xfce4-session (Ubuntu):
status: Fix Committed → Triaged
Revision history for this message
Ara Pulido (ara) wrote :

It is failing to shutdown for me in Maverick Final candidate. After the alert, it reverts back to gdm.

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

This is fixed in upstream git master, but the changes are quite intrusive. Incidentally I came across this a while ago in an OEM project, and I created a very small and straightforward patch which ports from hal to ConsoleKit/Upower. It has worked well for several weeks, so I think this would make a fine SRU.

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

Lionel, please shout if you want me to upload this.

tags: added: iso-testing
tags: added: patch
Revision history for this message
Lionel Le Folgoc (mrpouit) wrote :

I can't reproduce that, works fine here…

Anyway, feel free to upload your patch if someone else can confirm it's broken on maverick. Thanks.

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

Pushed to my SRU test PPA at https://launchpad.net/~pitti/+archive/sru-test. Please give it a spin and let me know how it goes. Thanks!

Changed in xfce4-session (Ubuntu Maverick):
assignee: nobody → Martin Pitt (pitti)
status: Triaged → In Progress
Revision history for this message
Martin Pitt (pitti) wrote :

Unassigning myself from natty task, this will be fixed with new upstream updates.

Can anyone please test the maverick update in my PPA? If this is not an important issue after all, we'll keep maverick as it is.

Changed in xfce4-session (Ubuntu):
assignee: Martin Pitt (pitti) → nobody
status: In Progress → Triaged
Changed in xfce4-session (Ubuntu Maverick):
status: In Progress → Incomplete
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package xfce4-session - 4.7.2-0ubuntu1

---------------
xfce4-session (4.7.2-0ubuntu1) natty; urgency=low

  * Upload to natty (pkg-xfce svn r4617), remaining Ubuntu changes:
    - debian/control:
      + use our Vcs-* fields
      + build-depends on libgconf2-dev and libgnome-keyring-dev to enable
        GNOME services support.
    - debian/rules: pass --enable-gnome --enable-libgnome-keyring to
      dh_auto_configure.
  * Re-enable xfce4-panel support as we have 4.7.x in natty.

xfce4-session (4.7.2-1) UNRELEASED; urgency=low

  [ Yves-Alexis Perez ]
  * New upstream development release.
  * debian/patches:
    - 02_fix-fortune-path refreshed.
    - 04_gk-dont-check-running-use-start refreshed.×
  * debian/control:
    - refresh build-deps for Xfce 4.7.
    - add build-dep on hardening-includes.
  * debian/rules:
    - don't pass libexecdir, useless now
    - update xfsm-shutdown-helper path in chrpath call.
    - update splash-engine path.
    - pick {C,LD}FLAGS from dpkg-buildflags.
    - add hardening flags to {C,LD}FLAGS.
  * debian/xfce4-session.lintian-overrides:
    - drop xfsm-shutdown-helper and balou theme overrides, useless now.

  [ Lionel Le Folgoc ]
  * debian/control:
    - add myself to Uploaders
    - change hal recommends to upower and consolekit.
  * debian/patches/05_reuse-existing-ck-session.patch: do not open a new
    consolekit session if one is already present (Xfce #6685)
  * Bugs fixed by 4.7.x/4.8.x series:
    - Cannot edit an item in Autostarted applications dialog lp: #245171
    - Does not use the ConsoleKit interface to shutdown or reboot lp: #496423
    - Fails to request necessary permissions from policykit to perform
      shutdown/restart when multiple users are logged in lp: #251337
  * debian/patches:
    - 03_gk-start-with-path.patch: dropped, included upstream
    - 04_gk-dont-check-running-use-start.patch: ditto
    - 05_reuse-existing-ck-session.patch: dropped too.

xfce4-session (4.6.2-2) unstable; urgency=low

  * debian/patches:
    - 03_gk-start-with-path and 04_gk-dont-check-running-use-start added,
     change the way it starts gnome-keyring so it correctly runs in the
     session and exports environment variables. closes: #523322
  * debian/control
    - update standards version to 3.9.1.
 -- Lionel Le Folgoc <email address hidden> Sat, 04 Dec 2010 20:42:50 +0100

Changed in xfce4-session (Ubuntu):
status: Triaged → Fix Released
Revision history for this message
Martin Pitt (pitti) wrote :

Seems this isn't actually a big issue, due to the lack of feedback, so let's drop the maverick task for now.

Changed in xfce4-session (Ubuntu Maverick):
status: Incomplete → Won't Fix
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

Patches

Remote bug watches

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