PATH is not guaranteed to be defined in /etc/environment so it might
make sense to default to a sensible value.

Other DMs seem to do something like:

PATH=/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games

/etc/profile (which is about login shells) do:

PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin" for root
PATH="/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games" for normal users

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/798277

Title:
  $PATH does not contain /usr/games on Ubuntu Oneiric (11.10) -
  /etc/environment not sourced or environment not preserved

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/lightdm/+bug/798277/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to