Activity log for bug #1435492

Date Who What changed Old value New value Message
2015-03-23 18:42:54 Johannes Mueller bug added bug
2015-03-23 19:14:22 Johannes Mueller description According to changelog.Debian lightdm is using "bash for the session to improve error handling" to fix #678421. Unfortunately this can break the session start up when the user sets the $PATH environment variable in ~/.bashrc. Then /sbin might no longer be in $PATH and /etc/X11/Xsession.d/99cadence-session-start won't find /sbin/upstart when calling "upstart --user" The mechanism is the following: 1. /usr/sbin/lightdm-session lines 37-42 source among others ~/.profile 2. The usual .profile of /etc/skel will ~/.bashrc if the shell is Bash (and not /bin/sh) 3. ~/.bashrc (maybe) is setting $PATH without /sbin 4. upstart --user call fails as /sbin is not in $PATH Suggested solutions: * switch back to /bin/sh * make sure that /sbin is in $PATH According to changelog.Debian from version 1.12.3 on lightdm is using "bash for the session to improve error handling" to fix #678421. Unfortunately this can break the session start up when the user sets the $PATH environment variable in ~/.bashrc. Then /sbin might no longer be in $PATH and /etc/X11/Xsession.d/99cadence-session-start won't find /sbin/upstart when calling "upstart --user" The mechanism is the following: 1. /usr/sbin/lightdm-session lines 37-42 source among others ~/.profile 2. The usual .profile of /etc/skel will ~/.bashrc if the shell is Bash (and not /bin/sh) 3. ~/.bashrc (maybe) is setting $PATH without /sbin 4. upstart --user call fails as /sbin is not in $PATH Suggested solutions: * switch back to /bin/sh * make sure that /sbin is in $PATH
2015-03-23 19:20:02 Johannes Mueller description According to changelog.Debian from version 1.12.3 on lightdm is using "bash for the session to improve error handling" to fix #678421. Unfortunately this can break the session start up when the user sets the $PATH environment variable in ~/.bashrc. Then /sbin might no longer be in $PATH and /etc/X11/Xsession.d/99cadence-session-start won't find /sbin/upstart when calling "upstart --user" The mechanism is the following: 1. /usr/sbin/lightdm-session lines 37-42 source among others ~/.profile 2. The usual .profile of /etc/skel will ~/.bashrc if the shell is Bash (and not /bin/sh) 3. ~/.bashrc (maybe) is setting $PATH without /sbin 4. upstart --user call fails as /sbin is not in $PATH Suggested solutions: * switch back to /bin/sh * make sure that /sbin is in $PATH According to changelog.Debian from version 1.12.3 on lightdm is using "bash for the session to improve error handling" to fix #678421. Unfortunately this can break the session start up when the user sets the $PATH environment variable in ~/.bashrc. Then /sbin might no longer be in $PATH and /etc/X11/Xsession.d/99cadence-session-start won't find /sbin/upstart when calling "upstart --user" The mechanism is the following: 1. /usr/sbin/lightdm-session lines 37-42 source among others ~/.profile 2. The usual .profile of /etc/skel will source ~/.bashrc if the shell is Bash (and not /bin/sh) 3. ~/.bashrc (maybe) is setting $PATH without /sbin 4. upstart --user call fails as /sbin is not in $PATH Suggested solutions: * switch back to /bin/sh * make sure that /sbin is in $PATH
2015-03-23 20:32:39 Gunnar Hjalmarsson bug added subscriber Martin Pitt
2015-03-23 21:39:46 Johannes Mueller attachment added tested patch https://bugs.launchpad.net/ubuntu/+source/lightdm/+bug/1435492/+attachment/4353858/+files/patch
2015-03-23 23:22:56 Gunnar Hjalmarsson tags patch
2015-03-27 13:38:29 Martin Pitt affects lightdm (Ubuntu) upstart (Ubuntu)
2015-03-27 13:38:29 Martin Pitt upstart (Ubuntu): status New Triaged
2015-03-27 13:38:44 Martin Pitt summary Xsession crash after login (fix for #678421 breaks) Xsession.d script assumes that /sbin is in $PATH
2015-03-27 13:48:16 Gunnar Hjalmarsson bug added subscriber Gunnar Hjalmarsson
2015-03-27 15:26:38 Gunnar Hjalmarsson attachment added upstart_1.13.2-0ubuntu11.diff.gz https://bugs.launchpad.net/ubuntu/+source/upstart/+bug/1435492/+attachment/4357898/+files/upstart_1.13.2-0ubuntu11.diff.gz
2015-03-27 15:28:20 Gunnar Hjalmarsson attachment added upstart-diff-file.patch https://bugs.launchpad.net/ubuntu/+source/upstart/+bug/1435492/+attachment/4357899/+files/upstart-diff-file.patch
2015-03-27 15:28:47 Gunnar Hjalmarsson upstart (Ubuntu): status Triaged In Progress
2015-03-27 15:28:47 Gunnar Hjalmarsson upstart (Ubuntu): assignee Gunnar Hjalmarsson (gunnarhj)
2015-03-27 15:29:06 Gunnar Hjalmarsson bug added subscriber Ubuntu Sponsors Team
2015-03-27 15:29:26 Gunnar Hjalmarsson upstart (Ubuntu): importance Undecided Medium
2015-04-03 12:39:43 Didier Roche-Tolomelli upstart (Ubuntu): status In Progress Incomplete
2015-04-03 12:58:56 Gunnar Hjalmarsson attachment added upstart-diff-file2.patch https://bugs.launchpad.net/ubuntu/+source/upstart/+bug/1435492/+attachment/4365084/+files/upstart-diff-file2.patch
2015-04-03 12:59:13 Gunnar Hjalmarsson upstart (Ubuntu): status Incomplete In Progress
2015-04-03 13:28:56 Launchpad Janitor branch linked lp:ubuntu/upstart
2015-04-03 13:29:40 Didier Roche-Tolomelli upstart (Ubuntu): status In Progress Fix Committed
2015-04-03 15:34:31 Sebastien Bacher removed subscriber Ubuntu Sponsors Team
2015-04-04 03:07:20 Launchpad Janitor upstart (Ubuntu): status Fix Committed Fix Released
2015-04-04 11:51:53 Gunnar Hjalmarsson upstart (Ubuntu): status Fix Released Confirmed
2015-04-04 11:51:53 Gunnar Hjalmarsson upstart (Ubuntu): assignee Gunnar Hjalmarsson (gunnarhj)