[Bug 1614080] [NEW] PATH contains dot when PATH is unset before running bash

Launchpad Bug Tracker 1614080 at bugs.launchpad.net
Wed Aug 17 13:17:40 UTC 2016


You have been subscribed to a public bug:

On ubuntu 16.04 (but also 14.04), running bash with PATH unset always
adds '.' to PATH:

philippe at pv-desktop:~$ echo $PATH
/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games
philippe at pv-desktop:~$ unset PATH
philippe at pv-desktop:~$ /bin/bash
philippe at pv-desktop:~$ echo $PATH
/usr/local/bin:/usr/local/sbin:/usr/bin:/usr/sbin:/bin:/sbin:.

Even when testing in a virtual machine / docker, and erasing
/root/.profile /root/.bashrc /etc/profile /etc/bash.bashrc the problem
still happens.

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


** Tags: bot-comment
-- 
PATH contains dot when PATH is unset before running bash
https://bugs.launchpad.net/bugs/1614080
You received this bug notification because you are a member of Ubuntu Foundations Bugs, which is subscribed to bash in Ubuntu.



More information about the foundations-bugs mailing list