[Bug 1614080] Please test proposed package
Adam Conrad
adconrad at 0c3.net
Thu May 9 20:15:25 UTC 2019
Hello Philippe, or anyone else affected,
Accepted bash into xenial-proposed. The package will build now and be
available at https://launchpad.net/ubuntu/+source/bash/4.3-14ubuntu1.3
in a few hours, and then in the -proposed repository.
Please help us by testing this new package. See
https://wiki.ubuntu.com/Testing/EnableProposed for documentation on how
to enable and use -proposed. Your feedback will aid us getting this
update out to other Ubuntu users.
If this package fixes the bug for you, please add a comment to this bug,
mentioning the version of the package you tested and change the tag from
verification-needed-xenial to verification-done-xenial. If it does not
fix the bug for you, please add a comment stating that, and change the
tag to verification-failed-xenial. In either case, without details of
your testing we will not be able to proceed.
Further information regarding the verification process can be found at
https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in
advance for helping!
N.B. The updated package will be released to -updates after the bug(s)
fixed by this package have been verified and the package has been in
-proposed for a minimum of 7 days.
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to bash in Ubuntu.
https://bugs.launchpad.net/bugs/1614080
Title:
PATH contains dot when PATH is unset before running bash
Status in bash package in Ubuntu:
Fix Released
Status in bash source package in Precise:
Fix Released
Status in bash source package in Trusty:
In Progress
Status in bash source package in Xenial:
Fix Committed
Status in bash source package in Bionic:
Fix Committed
Status in bash source package in Cosmic:
Fix Released
Status in bash source package in Disco:
Fix Committed
Status in bash source package in Eoan:
Fix Released
Bug description:
[Impact]
* The fallback path built into bash contains '.' which leads to
unexpected addition of the current working directory. It should not be
there, just like it isnt' in pre-precise and cosmic+.
[Test Case]
* $ env -u PATH /bin/bash -c 'echo $PATH'
Should not have '.' as any component. Nor should there be any empty
components, i.e. '::'.
[Regression Potential]
* Normally PATH is always set by either init, systemd, or any other
hypervisor. Thus this only affects executions under bash, when it was
started without any environment - e.g. booting with 'init=/bin/bash'.
[Other Info]
* Original bug report.
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.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/bash/+bug/1614080/+subscriptions
More information about the foundations-bugs
mailing list