Debian Bug report logs - #563956
gnome-session: Reboot and shutdown don't always work

version graph

Package: gnome-session; Maintainer for gnome-session is Debian GNOME Maintainers <pkg-gnome-maintainers@lists.alioth.debian.org>; Source for gnome-session is src:gnome-session (PTS, buildd, popcon).

Reported by: Tony Houghton <h@realh.co.uk>

Date: Wed, 6 Jan 2010 15:57:01 UTC

Severity: normal

Found in version gnome-session/2.28.0-4

Done: Jeremy Bícha <jbicha@debian.org>

Bug is archived. No further changes may be made.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to debian-bugs-dist@lists.debian.org, Josselin Mouette <joss@debian.org>:
Bug#563956; Package gnome-session. (Wed, 06 Jan 2010 15:57:04 GMT) (full text, mbox, link).


Acknowledgement sent to Tony Houghton <h@realh.co.uk>:
New Bug report received and forwarded. Copy sent to Josselin Mouette <joss@debian.org>. (Wed, 06 Jan 2010 15:57:04 GMT) (full text, mbox, link).


Message #5 received at submit@bugs.debian.org (full text, mbox, reply):

From: Tony Houghton <h@realh.co.uk>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: gnome-session: Reboot and shutdown don't always work
Date: Wed, 06 Jan 2010 15:55:25 +0000
Package: gnome-session
Version: 2.28.0-4
Severity: normal


Sometimes when I clcik Restart or Shutdown in the menu or panel applet I
get logged out but then the gdm login screen comes up instead of the
system rebooting or halting as requested. It stays there until I choose
Shutdown or Restart from its Actions/Options menu. This happens on a
32-bit unstable system I use too. FWIW both systems are configured for
gdm to automatically log me in.

I think this is a problem with gnome-session rather than gdm because I
used to use ROX-Session, which requests gdm to shutdown or reboot via
its socket interface, and that always worked correctly.

-- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.32-trunk-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages gnome-session depends on:
ii  gnome-panel                   2.28.0-3   launcher and docking facility for 
ii  gnome-session-bin             2.28.0-4   The GNOME Session Manager - Minima
ii  gnome-settings-daemon         2.28.1-1   daemon handling the GNOME session 
ii  metacity                      1:2.28.0-3 lightweight GTK+ window manager
ii  nautilus                      2.28.4-1   file manager and graphical shell f
ii  policykit-1-gnome             0.95-1     GNOME authentication agent for Pol

Versions of packages gnome-session recommends:
ii  gnome-power-manager           2.28.2-1   power management tool for the GNOM

Versions of packages gnome-session suggests:
ii  desktop-base                  5.0.5      common files for the Debian Deskto
ii  gnome-keyring                 2.28.2-1   GNOME keyring services (daemon and
ii  gnome-user-guide [gnome2-user 2.28.2-1   GNOME user's guide

-- no debconf information




Information forwarded to debian-bugs-dist@lists.debian.org, Josselin Mouette <joss@debian.org>:
Bug#563956; Package gnome-session. (Wed, 06 Jan 2010 17:15:17 GMT) (full text, mbox, link).


Acknowledgement sent to 563956@bugs.debian.org:
Extra info received and forwarded to list. Copy sent to Josselin Mouette <joss@debian.org>. (Wed, 06 Jan 2010 17:15:17 GMT) (full text, mbox, link).


Message #10 received at 563956@bugs.debian.org (full text, mbox, reply):

From: Josselin Mouette <joss@debian.org>
To: Tony Houghton <h@realh.co.uk>, 563956@bugs.debian.org
Cc: pkg-utopia-maintainers@lists.alioth.debian.org
Subject: Re: Bug#563956: gnome-session: Reboot and shutdown don't always work
Date: Wed, 06 Jan 2010 18:07:28 +0100
[Message part 1 (text/plain, inline)]
Le mercredi 06 janvier 2010 à 15:55 +0000, Tony Houghton a écrit : 
> Sometimes when I clcik Restart or Shutdown in the menu or panel applet I
> get logged out but then the gdm login screen comes up instead of the
> system rebooting or halting as requested. It stays there until I choose
> Shutdown or Restart from its Actions/Options menu. This happens on a
> 32-bit unstable system I use too. FWIW both systems are configured for
> gdm to automatically log me in.
> 
> I think this is a problem with gnome-session rather than gdm because I
> used to use ROX-Session, which requests gdm to shutdown or reboot via
> its socket interface, and that always worked correctly.

This is probably a problem in consolekit. It could be related to an
issue Luca encountered while trying out GDM 2.28.

Does killing any console-kit-daemon process before logging out trigger
the bug for sure?

Cheers,
-- 
 .''`.      Josselin Mouette
: :' :
`. `'   “I recommend you to learn English in hope that you in
  `-     future understand things”  -- Jörg Schilling
[signature.asc (application/pgp-signature, inline)]

Information forwarded to debian-bugs-dist@lists.debian.org, Josselin Mouette <joss@debian.org>:
Bug#563956; Package gnome-session. (Wed, 06 Jan 2010 21:51:53 GMT) (full text, mbox, link).


Acknowledgement sent to Tony Houghton <h@realh.co.uk>:
Extra info received and forwarded to list. Copy sent to Josselin Mouette <joss@debian.org>. (Wed, 06 Jan 2010 21:51:53 GMT) (full text, mbox, link).


Message #15 received at 563956@bugs.debian.org (full text, mbox, reply):

From: Tony Houghton <h@realh.co.uk>
To: 563956@bugs.debian.org
Subject: Re: Bug#563956: gnome-session: Reboot and shutdown don't always work
Date: Wed, 6 Jan 2010 21:50:54 +0000
On Wed, 06 Jan 2010 18:07:28 +0100
Josselin Mouette <joss@debian.org> wrote:

> This is probably a problem in consolekit. It could be related to an
> issue Luca encountered while trying out GDM 2.28.
> 
> Does killing any console-kit-daemon process before logging out trigger
> the bug for sure?

No, I tried that and it rebooted as requested.

-- 
TH * http://www.realh.co.uk




Information forwarded to debian-bugs-dist@lists.debian.org, Josselin Mouette <joss@debian.org>:
Bug#563956; Package gnome-session. (Thu, 07 Jan 2010 14:36:03 GMT) (full text, mbox, link).


Acknowledgement sent to Tony Houghton <h@realh.co.uk>:
Extra info received and forwarded to list. Copy sent to Josselin Mouette <joss@debian.org>. (Thu, 07 Jan 2010 14:36:03 GMT) (full text, mbox, link).


Message #20 received at 563956@bugs.debian.org (full text, mbox, reply):

From: Tony Houghton <h@realh.co.uk>
To: 563956@bugs.debian.org
Subject: Re: Bug#563956: gnome-session: Reboot and shutdown don't always work
Date: Thu, 7 Jan 2010 14:33:14 +0000
On Wed, 06 Jan 2010 18:07:28 +0100
Josselin Mouette <joss@debian.org> wrote:

> Le mercredi 06 janvier 2010 à 15:55 +0000, Tony Houghton a écrit : 
> > 
> > I think this is a problem with gnome-session rather than gdm because I
> > used to use ROX-Session, which requests gdm to shutdown or reboot via
> > its socket interface, and that always worked correctly.
> 
> This is probably a problem in consolekit. It could be related to an
> issue Luca encountered while trying out GDM 2.28.

I had a look at gnome-session's source and saw that it tries to use
consolekit first with gdm's socket interface as a fallback, whereas
ROX-Session doesn't use consolekit at all and tries gdm's socket
interface first. So this does look like a consolekit problem, perhaps
this bug should be reassigned.

> Does killing any console-kit-daemon process before logging out trigger
> the bug for sure?

I'm not surprised this didn't trigger the bug, because that would have
removed what appears to be the cause of it and made gnome-session fall
back on the more reliable gdm interface.

-- 
TH * http://www.realh.co.uk




Information forwarded to debian-bugs-dist@lists.debian.org, Josselin Mouette <joss@debian.org>:
Bug#563956; Package gnome-session. (Sat, 16 Jan 2010 14:27:04 GMT) (full text, mbox, link).


Acknowledgement sent to Tony Houghton <h@realh.co.uk>:
Extra info received and forwarded to list. Copy sent to Josselin Mouette <joss@debian.org>. (Sat, 16 Jan 2010 14:27:05 GMT) (full text, mbox, link).


Message #25 received at 563956@bugs.debian.org (full text, mbox, reply):

From: Tony Houghton <h@realh.co.uk>
To: 563956@bugs.debian.org
Subject: Race condition?
Date: Sat, 16 Jan 2010 14:24:14 +0000
I think there's a race condition somewhere causing this, and my guess is
it has something to do with gdm respawning.

3 different things tend to happen:

1. My desktop disappears to be replaced by the console with the usual
   shutdown messages.

2. The console is shown briefly, but is quickly replaced by gdm's login
   screen, which stays there; shutdown has been aborted.

3. gdm reappears rather like in case (2), but it quickly disappears and
   shutdown continues

Shutdown failure happens most often on the slowest of my PCs, an
Athlon64 3000+, running 32-bit Debian. It happened only once or twice on
my main PC, which runs 64-bit Debian and was using a 2.16GHz Core2Duo,
but since upgrading to a 2.6GHz Athlon II X4 I don't think I've seen
this PC exhibit the fault at all.

-- 
TH * http://www.realh.co.uk




Information forwarded to debian-bugs-dist@lists.debian.org, Debian GNOME Maintainers <pkg-gnome-maintainers@lists.alioth.debian.org>:
Bug#563956; Package gnome-session. (Wed, 14 May 2014 16:54:04 GMT) (full text, mbox, link).


Acknowledgement sent to althaser <althaser@gmail.com>:
Extra info received and forwarded to list. Copy sent to Debian GNOME Maintainers <pkg-gnome-maintainers@lists.alioth.debian.org>. (Wed, 14 May 2014 16:54:04 GMT) (full text, mbox, link).


Message #30 received at 563956@bugs.debian.org (full text, mbox, reply):

From: althaser <althaser@gmail.com>
To: Tony Houghton <h@realh.co.uk>
Cc: 563956@bugs.debian.org
Subject: RE: #563956 - gnome-session: Reboot and shutdown don't always work
Date: Wed, 14 May 2014 17:51:13 +0100
[Message part 1 (text/plain, inline)]
Hey Tony,

this is an old bug.

Could you please still reproduce this issue with newer gnome-session
version like 3.4.2.1-4 or 3.8.4-4 ?

cheers,
althaser
[Message part 2 (text/html, inline)]

Reply sent to Jeremy Bícha <jbicha@debian.org>:
You have taken responsibility. (Thu, 06 Nov 2025 23:25:04 GMT) (full text, mbox, link).


Notification sent to Tony Houghton <h@realh.co.uk>:
Bug acknowledged by developer. (Thu, 06 Nov 2025 23:25:04 GMT) (full text, mbox, link).


Message #35 received at 563956-done@bugs.debian.org (full text, mbox, reply):

From: Jeremy Bícha <jbicha@debian.org>
To: 669324-done@bugs.debian.org, 668119-done@bugs.debian.org, 650691-done@bugs.debian.org, 581875-done@bugs.debian.org, 563956-done@bugs.debian.org, 563596-done@bugs.debian.org, 553426-done@bugs.debian.org, 551460-done@bugs.debian.org, 533840-done@bugs.debian.org, 529249-done@bugs.debian.org
Subject: closing ancient gnome-session bugs
Date: Thu, 6 Nov 2025 17:45:49 -0500
There have been many changes to Debian since this bug was originally
reported. If you are still experiencing this issue with Debian 13 (or
with Debian 12 or Testing or Unstable), please report a new bug.

Thank you,
Jeremy Bícha



Bug archived. Request was from Debbugs Internal Request <owner@bugs.debian.org> to internal_control@bugs.debian.org. (Fri, 05 Dec 2025 07:31:13 GMT) (full text, mbox, link).


Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Fri Jan 23 19:33:00 2026; Machine Name: berlioz

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU General Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.