[Bug 1435492] [NEW] Xsession crash after login (fix for #678421 breaks)
Launchpad Bug Tracker
1435492 at bugs.launchpad.net
Fri Mar 27 13:38:31 UTC 2015
You have been subscribed to a public bug:
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
** Affects: upstart (Ubuntu)
Importance: Undecided
Status: Triaged
** Tags: patch
--
Xsession crash after login (fix for #678421 breaks)
https://bugs.launchpad.net/bugs/1435492
You received this bug notification because you are a member of Ubuntu Foundations Bugs, which is subscribed to upstart in Ubuntu.
More information about the foundations-bugs
mailing list