[Bug 1281802] [NEW] /usr/local/games is after /usr/games in the default PATH (instead of before)

Bruno Nova 1281802 at bugs.launchpad.net
Tue Feb 18 21:48:00 UTC 2014


Public bug reported:

I'm reporting this bug after asking this question in Ask Ubuntu:
http://askubuntu.com/questions/422605/why-is-usr-local-games-after-usr-
games-in-the-default-path

The default value of the PATH environment variable in Ubuntu is: /usr/lib/lightdm/lightdm:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games
(the lightdm part may or may not be there)

/usr/local/games appears after /usr/games instead of before.
This seems to be a mistake. I think /usr/local/games should appear before /usr/games, more so considering that the other two "local" directories appear before the non-local ones.

This default PATH seems to come from /etc/environment, and this file is created by libpam-module's postint script (the answer to the Ask Ubuntu question explains this).
This is specific to Ubuntu. Debian apparently has the directories in the correct order.

I'm using Ubuntu 13.10, but I think this "problem" already existed
before.

** Affects: pam (Ubuntu)
     Importance: Undecided
         Status: New

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

Title:
  /usr/local/games is after /usr/games in the default PATH (instead of
  before)

Status in “pam” package in Ubuntu:
  New

Bug description:
  I'm reporting this bug after asking this question in Ask Ubuntu:
  http://askubuntu.com/questions/422605/why-is-usr-local-games-after-
  usr-games-in-the-default-path

  The default value of the PATH environment variable in Ubuntu is: /usr/lib/lightdm/lightdm:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games
  (the lightdm part may or may not be there)

  /usr/local/games appears after /usr/games instead of before.
  This seems to be a mistake. I think /usr/local/games should appear before /usr/games, more so considering that the other two "local" directories appear before the non-local ones.

  This default PATH seems to come from /etc/environment, and this file is created by libpam-module's postint script (the answer to the Ask Ubuntu question explains this).
  This is specific to Ubuntu. Debian apparently has the directories in the correct order.

  I'm using Ubuntu 13.10, but I think this "problem" already existed
  before.

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



More information about the foundations-bugs mailing list