Bug#240993: marked as done (gdm doesn't restart correctly upon upgrade)

Debian Bug Tracking System owner@bugs.debian.org
Tue, 30 Mar 2004 09:03:16 -0800


Your message dated Tue, 30 Mar 2004 08:50:18 -0800
with message-id <20040330165018.GF13742@cyberhqz.com>
and subject line Bug#240993: gdm doesn't restart correctly upon upgrade
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--------------------------------------
Received: (at submit) by bugs.debian.org; 30 Mar 2004 08:39:45 +0000
>From Josselin.Mouette@ec-lyon.fr Tue Mar 30 00:39:45 2004
Return-path: <Josselin.Mouette@ec-lyon.fr>
Received: from ecl03.servers.ec-lyon.fr (ecl03.crinet.ec-lyon.fr) [156.18.19.3] 
	by spohr.debian.org with smtp (Exim 3.35 1 (Debian))
	id 1B8Emf-0001sk-00; Tue, 30 Mar 2004 00:39:45 -0800
Received: from localhost (ecl03.servers.ec-lyon.fr [127.0.0.1])
	by ecl03.crinet.ec-lyon.fr (Postfix) with ESMTP
	id C8D592BCAF; Tue, 30 Mar 2004 10:39:43 +0200 (CEST)
Received: from ecl03.crinet.ec-lyon.fr ([127.0.0.1])
 by localhost (ecl03.servers.ec-lyon.fr [127.0.0.1]) (amavisd-new, port 10024)
 with ESMTP id 24080-18; Tue, 30 Mar 2004 10:39:43 +0200 (CEST)
Received: from leom181.leom.ec-lyon.fr (leom181.leom.ec-lyon.fr [156.18.34.181])
	by ecl03.crinet.ec-lyon.fr (Postfix) with ESMTP
	id 56A202BC7D; Tue, 30 Mar 2004 10:39:43 +0200 (CEST)
Received: from joss by leom181.leom.ec-lyon.fr with local (Exim 3.36 #1 (Debian))
	id 1B8Elu-0006eN-00; Tue, 30 Mar 2004 10:38:58 +0200
Date: Tue, 30 Mar 2004 10:38:58 +0200
From: Josselin Mouette <joss@debian.org>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: gdm doesn't restart correctly upon upgrade
Message-ID: <20040330083857.GA25415@leom181.leom.ec-lyon.fr>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
X-Reportbug-Version: 2.55
User-Agent: Mutt/1.5.5.1+cvs20040105i
Sender: Josselin Mouette <Josselin.Mouette@ec-lyon.fr>
Reply-To: Josselin Mouette <joss@debian.org>
X-Virus-Scanned: by amavisd with F-secure at ec-lyon.fr
Delivered-To: submit@bugs.debian.org
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2004_03_25 
	(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-6.0 required=4.0 tests=BAYES_30,HAS_PACKAGE 
	autolearn=no version=2.60-bugs.debian.org_2004_03_25
X-Spam-Level: 

Package: gdm
Version: 2.4.4.7-1
Severity: important
Tags: sid patch

The gdm package in sid isn't restarted correctly upon upgrade and 
requires manual intervention. Adding the following code to the postinst 
should fix this:

# Soft restart of the display manager
                                                                                
fifofile=/var/lib/gdm/.gdminfo
pidfile=/var/run/gdm.pid
                                                                                
# NOTE: the binary on disk most likely has changed, so we can't use --exec
if start-stop-daemon --stop --quiet --name gdm --signal 0 --pid "$pidfile"; then  if [ -w "$fifofile" ]; then
    (echo;echo SOFT_RESTART) >> "$fifofile"
  fi
fi

Regards,
-- 
 .''`.           Josselin Mouette        /\./\
: :' :           josselin.mouette@ens-lyon.org
`. `'                        joss@debian.org
  `-  Debian GNU/Linux -- The power of freedom

---------------------------------------
Received: (at 240993-done) by bugs.debian.org; 30 Mar 2004 16:50:25 +0000
>From rmurray@cyberhqz.com Tue Mar 30 08:50:25 2004
Return-path: <rmurray@cyberhqz.com>
Received: from (straylight.cyberhqz.com) [24.81.28.253] (postfix)
	by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 1B8MRV-0002Yk-00; Tue, 30 Mar 2004 08:50:25 -0800
Received: from localhost (localhost [127.0.0.1])
	by straylight.cyberhqz.com (Postfix) with ESMTP
	id 87A9454006; Tue, 30 Mar 2004 08:50:24 -0800 (PST)
Received: by straylight.cyberhqz.com (Postfix, from userid 1000)
	id 5990B54006; Tue, 30 Mar 2004 08:50:18 -0800 (PST)
Date: Tue, 30 Mar 2004 08:50:18 -0800
From: Ryan Murray <rmurray@debian.org>
To: Josselin Mouette <joss@debian.org>, 240993-done@bugs.debian.org
Subject: Re: Bug#240993: gdm doesn't restart correctly upon upgrade
Message-ID: <20040330165018.GF13742@cyberhqz.com>
References: <20040330083857.GA25415@leom181.leom.ec-lyon.fr>
Mime-Version: 1.0
Content-Type: multipart/signed; micalg=pgp-sha1;
	protocol="application/pgp-signature"; boundary="maH1Gajj2nflutpK"
Content-Disposition: inline
In-Reply-To: <20040330083857.GA25415@leom181.leom.ec-lyon.fr>
User-Agent: Mutt/1.3.28i
Delivered-To: 240993-done@bugs.debian.org
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2004_03_25 
	(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-4.0 required=4.0 tests=BAYES_30,HAS_BUG_NUMBER 
	autolearn=no version=2.60-bugs.debian.org_2004_03_25
X-Spam-Level: 


--maH1Gajj2nflutpK
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Tue, Mar 30, 2004 at 10:38:58AM +0200, Josselin Mouette wrote:
> The gdm package in sid isn't restarted correctly upon upgrade and=20
> requires manual intervention. Adding the following code to the postinst=
=20
> should fix this:

I suggest that you read archived bug reports for the many reasons why
automatically restarting a display manager is, in general, a bad idea.
Especially when the way to query what VT to start on is quite racey.

GDM gives an error message to the user that describes what to do, which is
better than taking out the users keyboard (and, from their point of view, t=
heir
way to login) at the end of an upgrade.

--=20
Ryan Murray, Debian Developer (rmurray@cyberhqz.com, rmurray@debian.org)
The opinions expressed here are my own.

--maH1Gajj2nflutpK
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQFAaaVJN2Dbz/1mRasRAvvwAJ4t8RepxJ0AixRZu7KQG8q/b1u6wQCgqL6U
OmjwSAHRHZNtqMpTyouCAos=
=SXDF
-----END PGP SIGNATURE-----

--maH1Gajj2nflutpK--