Debian Bug report logs - #774798
Warning msg when ~/.profile syntax error instead of failed login

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

Reported by: Gunnar Hjalmarsson <gunnarhj@ubuntu.com>

Date: Wed, 7 Jan 2015 18:12:06 UTC

Severity: normal

Reply or subscribe to this bug.

Toggle useless messages

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


Report forwarded to debian-bugs-dist@lists.debian.org, Debian GNOME Maintainers <pkg-gnome-maintainers@lists.alioth.debian.org>:
Bug#774798; Package gdm3. (Wed, 07 Jan 2015 18:12:11 GMT) (full text, mbox, link).


Acknowledgement sent to Gunnar Hjalmarsson <gunnarhj@ubuntu.com>:
New Bug report received and forwarded. Copy sent to Debian GNOME Maintainers <pkg-gnome-maintainers@lists.alioth.debian.org>. (Wed, 07 Jan 2015 18:12:11 GMT) (full text, mbox, link).


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

From: Gunnar Hjalmarsson <gunnarhj@ubuntu.com>
To: submit@bugs.debian.org
Subject: Warning msg when ~/.profile syntax error instead of failed login
Date: Wed, 07 Jan 2015 19:03:27 +0100
[Message part 1 (text/plain, inline)]
Package: gdm3

This is a forward of https://launchpad.net/bugs/678421 in Ubuntu. There
is also a related upstream bug: https://bugzilla.gnome.org/738970

In case of a syntax error in ~/.profile or some similar config file, the
login is interrupted and you are taken back to the login screen. If
there is some other kind of error, it's silently ignored.

We are about to make both lightdm and gdm show a warning dialog for all
kinds of errors in those files, and at the same time allow the login to
the desktop to proceed. The solution includes a change from /bin/sh to
/bin/bash. Bash has a built-in syntax check when sourcing files. For gdm
this is achieved by changing $XSESSION_SHELL.

The attached patch is based on gdm 3.14.0. The complete Ubuntu diff is
available at https://launchpad.net/ubuntu/+source/gdm/3.14.0-0ubuntu2

-- 
Gunnar Hjalmarsson
https://launchpad.net/~gunnarhj
[ubuntu_config_error_dialog.patch (text/x-diff, attachment)]

Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Fri Jan 5 05:14:44 2018; Machine Name: beach

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU 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.