Comment 1 for bug 1435492

Revision history for this message
Gunnar Hjalmarsson (gunnarhj) wrote : Re: Xsession crash after login (fix for #678421 breaks)

Hi Johannes, thanks for your report.

I'm the one who proposed the use of /bin/bash, so I'm kind of disinclined to agree on switching back. ;) There were valid reasons for making that change.

Can't help thinking that you ask for trouble by excluding /sbin from $PATH, but possibly it's not just a mistake.

Other ways, besides those you mention, to deal with this bug might be:

* Change the upstart files so they call the upstart bin with full path.

* Add some condition to the .profile file in /etc/skel so it does not
  source ~/.bashrc when sourced by a DM.
  ( Got that idea from http://askubuntu.com/questions/591937 )

Subscribed Martin Pitt, who helped out with bug #678421.