Add ~/.local/bin to the path in /etc/skel/.profile
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Gnu Bash |
Fix Released
|
Unknown
|
|||
bash (Ubuntu) |
Fix Released
|
High
|
Unassigned |
Bug Description
This appears to be a regression of https:/
In 16.04, per the above bug it is set with bash 4.3
##### Working in 16.04
$ dpkg -l bash | cat
Desired=
| Status=
|/ Err?=(none)
||/ Name Version Architecture Description
+++-===
ii bash 4.3-14ubuntu1.2 amd64 GNU Bourne Again SHell
$ tail -n 2 /etc/skel/profile
# set PATH so it includes user's private bin directories
PATH="$
##### Regression in 17.04
$ dpkg -l bash | cat
Desired=
| Status=
|/ Err?=(none)
||/ Name Version Architecture Description
+++-===
ii bash 4.4-2ubuntu1.1 amd64 GNU Bourne Again SHell
$ tail -n 4 /etc/skel/.profile
# set PATH so it includes user's private bin if it exists
if [ -d "$HOME/bin" ] ; then
PATH=
fi
##### Regression in 17.10
$ dpkg -l bash | cat
Desired=
| Status=
|/ Err?=(none)
||/ Name Version Architecture Description
+++-===
ii bash 4.4-5ubuntu1 amd64 GNU Bourne Again SHell
$ tail -n 4 /etc/skel/.profile
# set PATH so it includes user's private bin if it exists
if [ -d "$HOME/bin" ] ; then
PATH=
fi
foo@76ee9ed7d4f5:~$ echo $PATH
/usr/local/
The issue could be fixed with a diff on /etc/skel/.profile like:
##### Patch Diff
diff --git a/.profile b/.profile
index c9db459..da82446 100644
--- a/.profile
+++ b/.profile
@@ -20,3 +20,8 @@ fi
if [ -d "$HOME/bin" ] ; then
PATH=
fi
+
+# set PATH so it includes user's private python-pip bin if it exists
+if [ -d "$HOME/.local/bin" ] ; then
+ PATH="$
+fi
#### LSB info
$ lsb_release -rd
Description: Ubuntu 17.04
Release: 17.04
$ lsb_release -rd
Description: Ubuntu Artful Aardvark (development branch)
Release: 17.10
Changed in gnubash: | |
status: | Unknown → New |
Changed in gnubash: | |
status: | New → Fix Released |
Status changed to 'Confirmed' because the bug affects multiple users.