[Bug 1755185] Re: `sh -l` - PATH not exported
costi
iraehc at hotmail.com
Thu Sep 20 12:04:44 UTC 2018
I am the same user that registered the bug (No idea which email I used)
** Package changed: ubuntu => base-files (Ubuntu)
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to base-files in Ubuntu.
https://bugs.launchpad.net/bugs/1755185
Title:
`sh -l` - PATH not exported
Status in base-files package in Ubuntu:
New
Bug description:
When I invoke a login shell (sh -l), PATH is set but not exported. The
behaviour with Fedora, Debian, Alpine, CentOS and I think I tested
others is to export PATH in that case.
On my xenial and a (chrooted) bionic:
```
$ env -i sh -l
$ echo $PATH
/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
$ printenv
PWD=/home/irae/plash
```
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/base-files/+bug/1755185/+subscriptions
More information about the foundations-bugs
mailing list