Bug#240111: gdm: 2.4.4.7 breaks sessions

Josselin Mouette Josselin Mouette <joss@debian.org>, 240111@bugs.debian.org
Tue, 30 Mar 2004 10:30:07 +0200


--=-XtKMJWcCHnKtm75cRbYB
Content-Type: text/plain; charset=ISO-8859-15
Content-Transfer-Encoding: quoted-printable

Le mar 30/03/2004 =E0 10:04, Josselin Mouette a =E9crit :
> tag 240111 patch
> thanks
>=20
> Le mar 30/03/2004 =E0 02:44, Ryan Murray a =E9crit :
> > On Mon, Mar 29, 2004 at 04:22:02PM -0700, Matt Gaudet wrote:
> > > During an upgrade today from 2.4.1.7 to 2.4.4.7-1, GDM's sessions wer=
e broken. I was
> >=20
> > I'm afraid you'll have to be a little more verbose.  "broken" doesn't t=
ell me
> > anything.
>=20
> The old sessions are not automatically converted. I have written a
> snippet for the init script to automatically convert them from the old
> to the new format. Just apply the attached patches. One is for the code,
> the other is for the Debian directory.

I forgot the following snippet:

# Upgrade from 2.4.1: make the old sessions not executable but keep them
# around if the administrator wants to get back their modified contents.
for file in Debian Xsession; do
  if [ -f /etc/gdm/Sessions/"$file" ]; then
    chmod 644 /etc/gdm/Sessions/"$file"
  fi
done

It should be added to the postinst script, so that the sessions provided
by the gdm package aren't displayed twice.
--=20
 .''`.           Josselin Mouette        /\./\
: :' :           josselin.mouette@ens-lyon.org
`. `'                        joss@debian.org
  `-  Debian GNU/Linux -- The power of freedom

--=-XtKMJWcCHnKtm75cRbYB
Content-Type: application/pgp-signature; name=signature.asc
Content-Description: Ceci est une partie de message
	=?ISO-8859-1?Q?num=E9riquement?= =?ISO-8859-1?Q?_sign=E9e=2E?=

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)

iD8DBQBAaTAPrSla4ddfhTMRAtAeAKCMSXEqmWBtT8IAF5EDw5+F1Yh+xQCg6Exm
Xo4Nxz4PmgSsZP8oER8nPHk=
=0n0t
-----END PGP SIGNATURE-----

--=-XtKMJWcCHnKtm75cRbYB--