gdm logins should fail if a sourced session script fails

Bug #36177 reported by Gary Coady
10
Affects Status Importance Assigned to Milestone
gdm
Won't Fix
Low
gdm (Ubuntu)
Triaged
Low
Ubuntu Desktop Bugs

Bug Description

When /etc/gdm/Xsession sources various other scripts, logging in will still succeed if a script returns a non-zero exit code. All other login managers have the opposite behaviour - logging in fails - because /etc/X11/Xsession includes "set -e".

This can cause failures to go unseen by developers, if they generally use gdm during development (see Malone #35852 for an example).

I really just want all login managers to have the same behaviour here, so if this bug is rejected, I'll go and hassle the xorg team ;-) But "fail early" sounds like it's more appropriate, IMHO.

Revision history for this message
Sebastien Bacher (seb128) wrote :

Thanks for your bug. I've forwarded it upstream: http://bugzilla.gnome.org/show_bug.cgi?id=343297

Changed in gdm:
assignee: nobody → desktop-bugs
status: Unconfirmed → Confirmed
Revision history for this message
Sebastien Bacher (seb128) wrote :

comment from upstream:

"I would be happy to accept a patch to fix the GDM xsession script to work
better. You aren't very clear about which specific "other scripts" need
attention."

Changed in gdm:
status: Confirmed → Triaged
Changed in gdm:
importance: Unknown → Low
Changed in gdm:
status: New → Won't Fix
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

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