[Bug 678421] Re: Error message for a faulty ~/.profile script

2018-07-18 Thread Launchpad Bug Tracker
** Merge proposal linked: https://code.launchpad.net/~canonical-desktop-team/ubuntu/+source/gdm3/+git/gdm3/+merge/349818 -- You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to gdm in Ubuntu. https://bugs.launchpad.net/bugs/678421 Title:

[Bug 678421] Re: Error message for a faulty ~/.profile script

2018-06-29 Thread Launchpad Bug Tracker
** Merge proposal linked: https://code.launchpad.net/~canonical-desktop-team/ubuntu/+source/gdm3/+git/gdm3/+merge/348784 -- You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to gdm in Ubuntu. https://bugs.launchpad.net/bugs/678421 Title:

[Bug 678421] Re: Error message for a faulty ~/.profile script

2018-02-12 Thread Bug Watch Updater
** Changed in: gdm Status: Confirmed => Won't Fix -- You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to gdm in Ubuntu. https://bugs.launchpad.net/bugs/678421 Title: Error message for a faulty ~/.profile script To manage notificati

[Bug 678421] Re: Error message for a faulty ~/.profile script

2015-05-22 Thread Bug Watch Updater
** Changed in: gdm Status: New => Confirmed -- You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to gdm in Ubuntu. https://bugs.launchpad.net/bugs/678421 Title: Error message for a faulty ~/.profile script To manage notifications ab

[Bug 678421] Re: Error message for a faulty ~/.profile script

2015-03-19 Thread Launchpad Bug Tracker
This bug was fixed in the package lightdm - 1.12.3-0ubuntu1 --- lightdm (1.12.3-0ubuntu1) utopic; urgency=medium * New upstream release: - Fix pipe file descriptor leak for each greeter session. (LP: #1190344) - Don't attempt generate D-Bus seat/session removal signals on sh

[Bug 678421] Re: Error message for a faulty ~/.profile script

2015-03-12 Thread Gunnar Hjalmarsson
I have successfully installed and run lightdm 1.12.3-0ubuntu1 from utopic-proposed. The behavior in case of a syntax error in ~/.profile has changed in accordance with the test case in the bug description. ** Tags removed: verification-needed ** Tags added: verification-done -- You received this

[Bug 678421] Re: Error message for a faulty ~/.profile script

2015-03-11 Thread Timo Aaltonen
Hello Egon, or anyone else affected, Accepted lightdm into utopic-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/lightdm/1.12.3-0ubuntu1 in a few hours, and then in the -proposed repository. Please help us by testing this new package. See https://wi

[Bug 678421] Re: Error message for a faulty ~/.profile script

2015-02-26 Thread Gunnar Hjalmarsson
Ok, thanks, Daniel. This way I learned something new. :) I think the reason for the confusion is that stderr is already redirected when the code in ~/.profile is run. It's done through this line in /usr/sbin/lightdm-session: . "$CONFIG_FILE" 2>"$ERR" So if you want it to work as before, you n

Re: [Bug 678421] Re: Error message for a faulty ~/.profile script

2015-02-26 Thread Daniel Hahler
On 25.02.2015 23:42, Gunnar Hjalmarsson wrote: > Thanks for your comments! > > On 2015-02-25 19:56, Daniel Hahler wrote: >> set -x >> exec 1>>$logfile >> exec 2>>$logfile > > Really using the "exec" command in ~/.profile would stop the execution > of the main process (/usr/sbin/light

[Bug 678421] Re: Error message for a faulty ~/.profile script

2015-02-25 Thread Gunnar Hjalmarsson
Hi Daniel, Thanks for your comments! On 2015-02-25 19:56, Daniel Hahler wrote: > set -x > exec 1>>$logfile > exec 2>>$logfile Really using the "exec" command in ~/.profile would stop the execution of the main process (/usr/sbin/lightdm-session), so I suppose your ~/.profile did not l

[Bug 678421] Re: Error message for a faulty ~/.profile script

2015-02-25 Thread Daniel Hahler
Thanks for working on this! For what it's worth, I've been using the following, and had to move the "set -x" now below the "exec 2>>$logfile", otherwise this was detected as being an error. 1. I've been using the following in ~/.profile, mainly for debugging purposes: logfile=/tmp/debug-prof

[Bug 678421] Re: Error message for a faulty ~/.profile script

2015-02-16 Thread Launchpad Bug Tracker
This bug was fixed in the package lightdm - 1.10.4-0ubuntu2 --- lightdm (1.10.4-0ubuntu2) trusty; urgency=medium * debian/config-error-dialog.sh: * debian/lightdm-session: - Use bash for the session to improve error handling (LP: #678421) * debian/control: - Depend on ba

[Bug 678421] Re: Error message for a faulty ~/.profile script

2015-01-29 Thread Launchpad Bug Tracker
This bug was fixed in the package gdm - 3.10.0.1-0ubuntu7.1 --- gdm (3.10.0.1-0ubuntu7.1) utopic; urgency=medium * debian/patches/ubuntu_config_error_dialog.patch: - Show warning dialog in case of error in ~/.profile etc. and don't let a syntax error make the login fail (L

[Bug 678421] Re: Error message for a faulty ~/.profile script

2015-01-28 Thread Gunnar Hjalmarsson
Thanks Tim, with that all the SRUs have been verified at last. :) ** Tags removed: verification-done-trusty verification-needed-utopic ** Tags added: verification-done -- You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to gdm in Ubuntu. htt

[Bug 678421] Re: Error message for a faulty ~/.profile script

2015-01-28 Thread Tim
I verified gdm on utopic with both a valid and broken .profile, all working as expected -- You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to gdm in Ubuntu. https://bugs.launchpad.net/bugs/678421 Title: Error message for a faulty ~/.profi

[Bug 678421] Re: Error message for a faulty ~/.profile script

2015-01-28 Thread Launchpad Bug Tracker
This bug was fixed in the package gdm - 3.10.0.1-0ubuntu3.1 --- gdm (3.10.0.1-0ubuntu3.1) trusty; urgency=medium * debian/patches/ubuntu_config_error_dialog.patch: - Show warning dialog in case of error in ~/.profile etc. and don't let a syntax error make the login fail (L

[Bug 678421] Re: Error message for a faulty ~/.profile script

2015-01-23 Thread Martin Pitt
Sorry, misunderstanding. I restored the previous tags, which seem to be correct. ** Tags removed: verification-done ** Tags added: verification-done-trusty verification-needed-utopic -- You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to gdm

[Bug 678421] Re: Error message for a faulty ~/.profile script

2015-01-22 Thread Martin Pitt
** Tags removed: verification-done-trusty verification-needed-utopic ** Tags added: verification-done -- You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to gdm in Ubuntu. https://bugs.launchpad.net/bugs/678421 Title: Error message for a f

[Bug 678421] Re: Error message for a faulty ~/.profile script

2015-01-22 Thread Mathew Hodson
** Tags removed: verification-done-utopic-lightdm verification-needed ** Tags added: verification-needed-utopic -- You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to gdm in Ubuntu. https://bugs.launchpad.net/bugs/678421 Title: Error messa

[Bug 678421] Re: Error message for a faulty ~/.profile script

2015-01-21 Thread Gunnar Hjalmarsson
Thanks for the correction, Brian. -- You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to gdm in Ubuntu. https://bugs.launchpad.net/bugs/678421 Title: Error message for a faulty ~/.profile script To manage notifications about this bug go t

[Bug 678421] Re: Error message for a faulty ~/.profile script

2015-01-21 Thread Brian Murray
@Gunnar - the SRU team tools understand the tags v-done and v-done-$release, but not v-done-$release-$package. ** Tags removed: verification-done-trusty-gdm verification-done-trusty-lightdm ** Tags added: verification-done-trusty -- You received this bug notification because you are a member of

[Bug 678421] Re: Error message for a faulty ~/.profile script

2015-01-21 Thread Gunnar Hjalmarsson
gdm 3.10.0.1-0ubuntu3.1 was successfully installed and run by Magnus Ewert. Magnus confirms that the behavior in case of a syntax error in ~/.profile has changed in accordance with the test case in the bug description. ** Tags added: verification-done-trusty-gdm verification-done-trusty- lightdm v

[Bug 678421] Re: Error message for a faulty ~/.profile script

2015-01-08 Thread Launchpad Bug Tracker
** Branch linked: lp:ubuntu/utopic-proposed/gdm -- You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to gdm in Ubuntu. https://bugs.launchpad.net/bugs/678421 Title: Error message for a faulty ~/.profile script To manage notifications about

[Bug 678421] Re: Error message for a faulty ~/.profile script

2015-01-08 Thread Brian Murray
Hello Egon, or anyone else affected, Accepted gdm into utopic-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/gdm/3.10.0.1-0ubuntu7.1 in a few hours, and then in the -proposed repository. Please help us by testing this new package. See https://wiki.u

[Bug 678421] Re: Error message for a faulty ~/.profile script

2015-01-07 Thread Bug Watch Updater
** Changed in: gdm (Debian) Status: Unknown => New -- You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to gdm in Ubuntu. https://bugs.launchpad.net/bugs/678421 Title: Error message for a faulty ~/.profile script To manage notificat

[Bug 678421] Re: Error message for a faulty ~/.profile script

2015-01-07 Thread Gunnar Hjalmarsson
** Bug watch added: Debian Bug tracker #774798 http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=774798 ** Also affects: gdm (Debian) via http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=774798 Importance: Unknown Status: Unknown -- You received this bug notification because you a

[Bug 678421] Re: Error message for a faulty ~/.profile script

2015-01-07 Thread Launchpad Bug Tracker
** Branch linked: lp:ubuntu/trusty-proposed/gdm -- You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to gdm in Ubuntu. https://bugs.launchpad.net/bugs/678421 Title: Error message for a faulty ~/.profile script To manage notifications about

[Bug 678421] Re: Error message for a faulty ~/.profile script

2015-01-07 Thread Chris J Arges
Hello Egon, or anyone else affected, Accepted gdm into trusty-proposed. The package will build now and be available at http://launchpad.net/ubuntu/+source/gdm/3.10.0.1-0ubuntu3.1 in a few hours, and then in the -proposed repository. Please help us by testing this new package. See https://wiki.ub

[Bug 678421] Re: Error message for a faulty ~/.profile script

2014-12-14 Thread Gunnar Hjalmarsson
** Changed in: gdm (Ubuntu Trusty) Status: Triaged => In Progress ** Changed in: gdm (Ubuntu Trusty) Assignee: (unassigned) => Gunnar Hjalmarsson (gunnarhj) ** Changed in: gdm (Ubuntu Utopic) Status: Triaged => In Progress ** Changed in: gdm (Ubuntu Utopic) Assignee: (una

[Bug 678421] Re: Error message for a faulty ~/.profile script

2014-12-14 Thread Launchpad Bug Tracker
** Branch linked: lp:~gunnarhj/ubuntu/utopic/gdm/config-error-dialog ** Branch linked: lp:~gunnarhj/ubuntu/trusty/gdm/config-error-dialog -- You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to gdm in Ubuntu. https://bugs.launchpad.net/bugs/6

[Bug 678421] Re: Error message for a faulty ~/.profile script

2014-12-12 Thread Launchpad Bug Tracker
This bug was fixed in the package gdm - 3.14.0-0ubuntu2 --- gdm (3.14.0-0ubuntu2) vivid; urgency=medium * debian/patches/ubuntu_config_error_dialog.patch: - Show warning dialog in case of error in ~/.profile etc. and don't let a syntax error make the login fail (LP: #67842

[Bug 678421] Re: Error message for a faulty ~/.profile script

2014-12-12 Thread Launchpad Bug Tracker
** Branch linked: lp:ubuntu/vivid-proposed/gdm -- You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to gdm in Ubuntu. https://bugs.launchpad.net/bugs/678421 Title: Error message for a faulty ~/.profile script To manage notifications about

[Bug 678421] Re: Error message for a faulty ~/.profile script

2014-12-12 Thread Mathew Hodson
** Branch unlinked: lp:lightdm/1.10 ** Branch unlinked: lp:lightdm/1.12 -- You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to gdm in Ubuntu. https://bugs.launchpad.net/bugs/678421 Title: Error message for a faulty ~/.profile script To m

[Bug 678421] Re: Error message for a faulty ~/.profile script

2014-12-11 Thread Gunnar Hjalmarsson
I have successfully installed and run lightdm 1.10.4-0ubuntu2 from trusty-proposed. The behavior in case of a syntax error in ~/.profile has changed in accordance with the test case in the bug description. ** Tags removed: verification-needed ** Tags added: verification-done -- You received this

[Bug 678421] Re: Error message for a faulty ~/.profile script

2014-12-11 Thread Launchpad Bug Tracker
** Branch linked: lp:ubuntu/trusty-proposed/lightdm -- You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to gdm in Ubuntu. https://bugs.launchpad.net/bugs/678421 Title: Error message for a faulty ~/.profile script To manage notifications a

[Bug 678421] Re: Error message for a faulty ~/.profile script

2014-12-11 Thread Brian Murray
Hello Egon, or anyone else affected, Accepted lightdm into trusty-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/lightdm/1.10.4-0ubuntu2 in a few hours, and then in the -proposed repository. Please help us by testing this new package. See https://wi

[Bug 678421] Re: Error message for a faulty ~/.profile script

2014-11-24 Thread Launchpad Bug Tracker
This bug was fixed in the package lightdm - 1.13.0-0ubuntu2 --- lightdm (1.13.0-0ubuntu2) vivid; urgency=medium * debian/config-error-dialog.sh: * debian/lightdm-session: - Use bash for the session to improve error handling (LP: #678421) * debian/control: - Depend on bas

[Bug 678421] Re: Error message for a faulty ~/.profile script

2014-11-24 Thread Launchpad Bug Tracker
** Branch linked: lp:ubuntu/vivid-proposed/lightdm -- You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to gdm in Ubuntu. https://bugs.launchpad.net/bugs/678421 Title: Error message for a faulty ~/.profile script To manage notifications ab

[Bug 678421] Re: Error message for a faulty ~/.profile script

2014-11-24 Thread Launchpad Bug Tracker
** Branch linked: lp:~gunnarhj/lightdm/config-error-dialog_utopic ** Branch linked: lp:~gunnarhj/lightdm/config-error-dialog_trusty -- You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to gdm in Ubuntu. https://bugs.launchpad.net/bugs/678421

[Bug 678421] Re: Error message for a faulty ~/.profile script

2014-11-19 Thread Gunnar Hjalmarsson
I filed a merge proposal, where lightdm-session is run under bash and the code for exception handling improved. A vivid build of lightdm, including the proposed changes, is available in my PPA at https://launchpad.net/~gunnarhj/+archive/ubuntu/misc ** Changed in: lightdm (Ubuntu) Status: F

[Bug 678421] Re: Error message for a faulty ~/.profile script

2014-11-19 Thread Launchpad Bug Tracker
** Branch linked: lp:~gunnarhj/lightdm/config-error-dialog -- You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to gdm in Ubuntu. https://bugs.launchpad.net/bugs/678421 Title: Error message for a faulty ~/.profile script To manage notifica

[Bug 678421] Re: Error message for a faulty ~/.profile script

2014-11-19 Thread Martin Pitt
Hah, nice! Works for me, too. -- You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to gdm in Ubuntu. https://bugs.launchpad.net/bugs/678421 Title: Error message for a faulty ~/.profile script To manage notifications about this bug go to: h

[Bug 678421] Re: Error message for a faulty ~/.profile script

2014-11-19 Thread Gunnar Hjalmarsson
Thanks for looking at it, Martin. Actually I may have found a relatively trivial solution using trap(); please see attached diff. ** Patch added: "possible-fix.diff" https://bugs.launchpad.net/ubuntu/trusty/+source/lightdm/+bug/678421/+attachment/4263541/+files/possible-fix.diff -- You rece

Re: [Bug 678421] Re: Error message for a faulty ~/.profile script

2014-11-18 Thread Barry Warsaw
On Nov 18, 2014, at 02:41 PM, Martin Pitt wrote: >Bash's input redirection simply is way more powerful. Granted, bash >takes a tad longer to start up, but any tee or other external program >which you call in addition will probably hurt performance just as much. Purely selfishly, switching back t

[Bug 678421] Re: Error message for a faulty ~/.profile script

2014-11-18 Thread Martin Pitt
> . "$CONFIG_FILE" 2>"$ERR" > OTOH, I suppose that switching to bash wouldn't be approved just like that. ;) Bash's input redirection simply is way more powerful. Granted, bash takes a tad longer to start up, but any tee or other external program which you call in addition will probably hurt perf

[Bug 678421] Re: Error message for a faulty ~/.profile script

2014-11-16 Thread Gunnar Hjalmarsson
I have been googling and experimenting a bit. Basically I'd like to change: . "$CONFIG_FILE" 2>"$ERR" to something along these lines: . "$CONFIG_FILE" 2> >(tee "$ERR" >&2) There is just one tiny problem: It's bash syntax and doesn't work in sh. If I change the shebang line of /usr/sbin/ligh

[Bug 678421] Re: Error message for a faulty ~/.profile script

2014-11-15 Thread Launchpad Bug Tracker
** Branch linked: lp:ubuntu/lightdm ** Branch linked: lp:ubuntu/utopic-proposed/lightdm -- You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to gdm in Ubuntu. https://bugs.launchpad.net/bugs/678421 Title: Error message for a faulty ~/.prof

[Bug 678421] Re: Error message for a faulty ~/.profile script

2014-11-14 Thread Gunnar Hjalmarsson
On 2014-11-15 00:49, Barry Warsaw wrote: > On Nov 14, 2014, at 11:38 PM, Gunnar Hjalmarsson wrote: >> Right now I don't know how to best deal with this issue. Any >> advice appreciated. > > Probably use tee(1) to get the output both into the temp file and > ~/.xsession-errors. Yeah.. But I fear

Re: [Bug 678421] Re: Error message for a faulty ~/.profile script

2014-11-14 Thread Barry Warsaw
On Nov 14, 2014, at 11:38 PM, Gunnar Hjalmarsson wrote: >Right now I don't know how to best deal with this issue. Any advice >appreciated. Probably use tee(1) to get the output both into the temp file and ~/.xsession-errors. -- You received this bug notification because you are a member of Ubun

[Bug 678421] Re: Error message for a faulty ~/.profile script

2014-11-14 Thread Gunnar Hjalmarsson
I created the file /etc/profile.d/wrong.sh with a sh syntax error. With lightdm 1.12.1-0ubuntu1 the reason for the login failure is logged in ~/.xsession-errors, but with the latest lightdm version it's not. So there is a regression with the fix of this bug. The reason is that stderr is temporaril

Re: [Bug 678421] Re: Error message for a faulty ~/.profile script

2014-11-14 Thread Barry Warsaw
On Nov 14, 2014, at 09:59 PM, Gunnar Hjalmarsson wrote: >I don't know. Syntax errors directly in e.g. ~/.profile or /etc/profile >are logged in ~/.xsession-errors both with the latest lightdm version >and with previous versions, but I don't know whether syntax errors in >files which are sourced fr

[Bug 678421] Re: Error message for a faulty ~/.profile script

2014-11-14 Thread Gunnar Hjalmarsson
On 2014-11-14 21:45, Barry Warsaw wrote: > On Nov 14, 2014, at 08:15 PM, Gunnar Hjalmarsson wrote: >> Being thrown back indicates a syntax error. > > Are those errors logged anywhere permanently? I don't know. Syntax errors directly in e.g. ~/.profile or /etc/profile are logged in ~/.xsession-err

Re: [Bug 678421] Re: Error message for a faulty ~/.profile script

2014-11-14 Thread Barry Warsaw
On Nov 14, 2014, at 08:15 PM, Gunnar Hjalmarsson wrote: >Being thrown back indicates a syntax error. Are those errors logged anywhere permanently? -- You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to gdm in Ubuntu. https://bugs.launchpad.

[Bug 678421] Re: Error message for a faulty ~/.profile script

2014-11-14 Thread Gunnar Hjalmarsson
On 2014-11-14 20:43, Barry Warsaw wrote: > Sure, it's entirely possibly that my login has been silently ignoring > the non-sh syntax errors, so in that respect, getting notification of > them now is a good thing. The use of commands unknown to sh is one kind of error that was silently ignored. How

[Bug 678421] Re: Error message for a faulty ~/.profile script

2014-11-14 Thread Gunnar Hjalmarsson
Being thrown back indicates a syntax error. One thing you could do is testing each one of your sourced files like this: sh -n The files must pass that test, or else you won't be able to log in. This is what the new lightdm code does, but it does not work recursively... -- You received this bu

Re: [Bug 678421] Re: Error message for a faulty ~/.profile script

2014-11-14 Thread Barry Warsaw
Hi Gunnar. On Nov 14, 2014, at 07:07 PM, Gunnar Hjalmarsson wrote: >It has always been using Bourne shell, so "source" is not understood. >You have obliviously been running your system without the configuration >in those other shell files. Sure, it's entirely possibly that my login has been sile

[Bug 678421] Re: Error message for a faulty ~/.profile script

2014-11-14 Thread Gunnar Hjalmarsson
Hi Barry! On 2014-11-14 17:56, Barry Warsaw wrote: > So, when I log in, I do get several warnings in a dialog. Most are > because I use `source` instead of `.` to source other shell files. > What shell is lightdm using these days? It has always been using Bourne shell, so "source" is not unders

[Bug 678421] Re: Error message for a faulty ~/.profile script

2014-11-14 Thread Barry Warsaw
For now I'll keep the hold on lightdm, but if Robert or someone else wants to debug in real-time, ping me on irc. -- You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to gdm in Ubuntu. https://bugs.launchpad.net/bugs/678421 Title: Error mes

[Bug 678421] Re: Error message for a faulty ~/.profile script

2014-11-14 Thread Barry Warsaw
pay-service crashed, leaving a core file and the following in .xsesssion.old. Not sure if this is related. upstart: pay-service main process (6149) killed by ABRT signal -- You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to gdm in Ubuntu.

[Bug 678421] Re: Error message for a faulty ~/.profile script

2014-11-14 Thread Barry Warsaw
Hmm, as 1.13.0-0ubuntu1 just showed up in vivid, it broke my login in the follow way. Note that I always try devel channel updates in a VM with a snapshotted disk so I'm able to revert and do some further investigating. Looking at the dist-upgrade packages, I suspect the lightdm changes are affec

[Bug 678421] Re: Error message for a faulty ~/.profile script

2014-11-14 Thread Barry Warsaw
apt-mark lightdm hold && apt-get dist-upgrade && reboot Indeed, logins are fine. -- You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to gdm in Ubuntu. https://bugs.launchpad.net/bugs/678421 Title: Error message for a faulty ~/.profile scr

[Bug 678421] Re: Error message for a faulty ~/.profile script

2014-11-13 Thread Gunnar Hjalmarsson
I have successfully installed and run lightdm 1.12.2-0ubuntu1 from utopic-proposed. The behavior in case of a syntax error in ~/.profile has changed in accordance with the test case in the bug description. ** Tags removed: verification-needed ** Tags added: verification-done -- You received this

[Bug 678421] Re: Error message for a faulty ~/.profile script

2014-11-13 Thread Brian Murray
Hello Egon, or anyone else affected, Accepted lightdm into utopic-proposed. The package will build now and be available at http://launchpad.net/ubuntu/+source/lightdm/1.12.2-0ubuntu1 in a few hours, and then in the -proposed repository. Please help us by testing this new package. See https://wik

[Bug 678421] Re: Error message for a faulty ~/.profile script

2014-11-12 Thread Launchpad Bug Tracker
This bug was fixed in the package lightdm - 1.13.0-0ubuntu1 --- lightdm (1.13.0-0ubuntu1) vivid; urgency=medium * New upstream release: - Fix crash when having configuration keys defined in multiple places (LP: #1377373) - Fix pipe file descriptor leak for each session

[Bug 678421] Re: Error message for a faulty ~/.profile script

2014-11-12 Thread Robert Ancell
I've removed the tasks on LightDM (the project) as the fixes for this were all in debian/. ** No longer affects: lightdm/1.12 ** No longer affects: lightdm/1.10 ** No longer affects: lightdm -- You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscri

[Bug 678421] Re: Error message for a faulty ~/.profile script

2014-11-12 Thread Robert Ancell
** Changed in: lightdm Status: Fix Committed => Fix Released -- You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to gdm in Ubuntu. https://bugs.launchpad.net/bugs/678421 Title: Error message for a faulty ~/.profile script To manage

[Bug 678421] Re: Error message for a faulty ~/.profile script

2014-10-27 Thread Gunnar Hjalmarsson
** Changed in: gdm (Ubuntu) Status: Triaged => In Progress ** Changed in: gdm (Ubuntu) Assignee: (unassigned) => Gunnar Hjalmarsson (gunnarhj) -- You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to gdm in Ubuntu. https://bugs.lau

[Bug 678421] Re: Error message for a faulty ~/.profile script

2014-10-27 Thread Launchpad Bug Tracker
** Branch linked: lp:~gunnarhj/ubuntu/vivid/gdm/config-error-dialog -- You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to gdm in Ubuntu. https://bugs.launchpad.net/bugs/678421 Title: Error message for a faulty ~/.profile script To manage

[Bug 678421] Re: Error message for a faulty ~/.profile script

2014-10-21 Thread Bug Watch Updater
** Changed in: gdm Status: Unknown => New ** Changed in: gdm Importance: Unknown => Medium -- You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to gdm in Ubuntu. https://bugs.launchpad.net/bugs/678421 Title: Error message for a f

[Bug 678421] Re: Error message for a faulty ~/.profile script

2014-10-21 Thread Gunnar Hjalmarsson
** Bug watch added: GNOME Bug Tracker #738970 https://bugzilla.gnome.org/show_bug.cgi?id=738970 ** Also affects: gdm via https://bugzilla.gnome.org/show_bug.cgi?id=738970 Importance: Unknown Status: Unknown -- You received this bug notification because you are a member of Ubuntu

[Bug 678421] Re: Error message for a faulty ~/.profile script

2014-10-21 Thread Launchpad Bug Tracker
** Branch linked: lp:lightdm/1.10 ** Branch linked: lp:lightdm/1.12 -- You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to gdm in Ubuntu. https://bugs.launchpad.net/bugs/678421 Title: Error message for a faulty ~/.profile script To manag

[Bug 678421] Re: Error message for a faulty ~/.profile script

2014-10-21 Thread Robert Ancell
** Changed in: lightdm/1.10 Status: In Progress => Fix Committed ** Changed in: lightdm/1.12 Status: In Progress => Fix Committed -- You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to gdm in Ubuntu. https://bugs.launchpad.net/

[Bug 678421] Re: Error message for a faulty ~/.profile script

2014-10-21 Thread Launchpad Bug Tracker
** Branch linked: lp:~gunnarhj/lightdm/lp-678421-trusty -- You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to gdm in Ubuntu. https://bugs.launchpad.net/bugs/678421 Title: Error message for a faulty ~/.profile script To manage notificatio

[Bug 678421] Re: Error message for a faulty ~/.profile script

2014-10-21 Thread Launchpad Bug Tracker
** Branch linked: lp:~gunnarhj/lightdm/lp-678421-utopic -- You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to gdm in Ubuntu. https://bugs.launchpad.net/bugs/678421 Title: Error message for a faulty ~/.profile script To manage notificatio

[Bug 678421] Re: Error message for a faulty ~/.profile script

2014-10-21 Thread Gunnar Hjalmarsson
** Description changed: + trusty and utopic SRU requests + == + + [Impact] + + In case of a syntax error in either of ~/.profile or a few other similar + files, the Xorg login is interrupted, and the user is taken back to the + login screen without an explanation. Deb

[Bug 678421] Re: Error message for a faulty ~/.profile script

2014-10-20 Thread Robert Ancell
** Also affects: gdm (Ubuntu Trusty) Importance: Undecided Status: New ** Also affects: lightdm (Ubuntu Trusty) Importance: Undecided Status: New ** Also affects: gdm (Ubuntu Utopic) Importance: Low Status: Triaged ** Also affects: lightdm (Ubuntu Utopic) Importa

[Bug 678421] Re: Error message for a faulty ~/.profile script

2014-10-20 Thread Robert Ancell
** Changed in: lightdm Milestone: None => 1.13.0 ** Changed in: lightdm Importance: Undecided => Medium ** Changed in: lightdm Importance: Medium => Low -- You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to gdm in Ubuntu. https:/

[Bug 678421] Re: Error message for a faulty ~/.profile script

2014-10-20 Thread Martin Pitt
Gunnar, Running it through "sh -n" is definitively a good way how to test a shell script. It of course will miss a lot of errors (variable typos, failing programs in a set -e script, etc.), but it at least will catch obvious syntax errors. So ignoring faulty scripts and showing some error message

[Bug 678421] Re: Error message for a faulty ~/.profile script

2014-10-19 Thread Matthieu Baerts
It seems it's a good way to fix this bug! Thank you for your help :-) -- You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to gdm in Ubuntu. https://bugs.launchpad.net/bugs/678421 Title: Error message for a faulty ~/.profile script To man

[Bug 678421] Re: Error message for a faulty ~/.profile script

2014-10-19 Thread Gunnar Hjalmarsson
I made a try. As regards a syntax error, it currently results in an interrupted login, while other types of errors are silently ignored. With my new merge proposal, a zenity/kdialog dialog is shown for all types of errors in ~/.profile and friends, and the login is completed (with a deficient con

[Bug 678421] Re: Error message for a faulty ~/.profile script

2014-10-15 Thread Gunnar Hjalmarsson
And I who thought it was so elegant to fix this bug with a few characters of code. ;) I suppose we could do a solution with zenity/kdialog, but before spending time on such a proposal (involving gettext etc.), I would like to know for sure that "sh -n" is an acceptable testing method. (Please note

[Bug 678421] Re: Error message for a faulty ~/.profile script

2014-10-15 Thread Alec Warner
I think we would also prefer a dialog, but I will take errors in ~/.xsession-errors over nothing. We can instruct our support staff to look there for these errors; right now there are no errors anywhere and so it is difficult to debug the root cause of the problem. -A -- You received this bug no

[Bug 678421] Re: Error message for a faulty ~/.profile script

2014-10-15 Thread Matthieu Baerts
Hi Gunnar, > It would make the file not being loaded in case of a syntax error, and an entry printed to ~/.xsession-errors. I don't know if it's better to ignore this file in case of syntax errors or to refuse to start a new session but for me, the most interesting thing is to notify the user wha

[Bug 678421] Re: Error message for a faulty ~/.profile script

2014-10-14 Thread Gunnar Hjalmarsson
Hi Matthieu, That "sh -n" option sounds interesting indeed, and I just prepared a merge proposal for lightdm. It would make the file not being loaded in case of a syntax error, and an entry printed to ~/.xsession-errors. ** Changed in: lightdm Status: New => In Progress ** Changed in: lig

[Bug 678421] Re: Error message for a faulty ~/.profile script

2014-10-14 Thread Launchpad Bug Tracker
** Branch linked: lp:~gunnarhj/lightdm/lp-678421 -- You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to gdm in Ubuntu. https://bugs.launchpad.net/bugs/678421 Title: Error message for a faulty ~/.profile script To manage notifications abou

[Bug 678421] Re: Error message for a faulty ~/.profile script

2014-10-12 Thread Matthieu Baerts
Hello, I also confirm that this bug can still be annoying with the latest versions of GDM and LightDM :-) And it can be an easy way to make some jokes just by modifying the .profile! Then it will be hard for the user to understand why he can no longer start a new session. Is it maybe possible

[Bug 678421] Re: Error message for a faulty ~/.profile script

2013-04-20 Thread Gunnar Hjalmarsson
Marked bug #1097903 a duplicate of this one, and added a lightdm (ubuntu) task. ** Also affects: lightdm (Ubuntu) Importance: Undecided Status: New ** Changed in: lightdm (Ubuntu) Importance: Undecided => Low ** Changed in: lightdm (Ubuntu) Status: New => Triaged -- You rec

[Bug 678421] Re: Error message for a faulty ~/.profile script

2011-07-07 Thread Martin Pitt
** Changed in: gdm (Ubuntu) Status: Confirmed => Triaged -- You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to gdm in Ubuntu. https://bugs.launchpad.net/bugs/678421 Title: Error message for a faulty ~/.profile script To manage not