$PATH does not contain /usr/games on Ubuntu Oneiric (11.10) - /etc/environment not sourced or environment not preserved
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
lightdm (Ubuntu) |
Fix Released
|
High
|
Robert Ancell | ||
Oneiric |
Fix Released
|
High
|
Robert Ancell |
Bug Description
Steps to reproduce:
1. Open a terminal.
2. Run "echo $PATH"
Expected result: the path contains the folder /usr/games like on earlier releases of Ubuntu.
Actual result: PATH does not include /usr/games
path i natty:
/usr/local/
path i oneiric:
/usr/local/
For some reason /usr/games is missing in Oneiric, which results in games not being run without specifying the complete path. For instance to run gbrainy, /usr/games/gbrainy is necessary.
Also notice that /usr/bin and /usr/sbin have reversed order in Oneiric, though I'm not sure if this is related.
I have unfortunately not been able to discover which package is responsible for path, so I have not assigned this bug to a package.
Changed in lightdm (Ubuntu Oneiric): | |
assignee: | nobody → Canonical Desktop Team (canonical-desktop-team) |
Changed in lightdm (Ubuntu Oneiric): | |
assignee: | Canonical Desktop Team (canonical-desktop-team) → Robert Ancell (robert-ancell) |
Thanks for reporting this bug and any supporting documentation. Since this bug has enough information provided for a developer to begin work, I'm going to mark it as confirmed and let them handle it from here.
I am seeing this same issue using Xubuntu Oneiric Ocelot, up-to-date as of 2011-06-16. It seems like /etc/environment is being ignored, but maybe what is in there is being over-ridden by something. A path change in /etc/environment is ignored, as are all locale settings such as LC_MESSAGES, LANGUAGE, and others.
Thanks for taking the time to make Ubuntu better!