[Bug 1755185] Re: `sh -l` - PATH not exported
costi
iraehc at hotmail.com
Thu Sep 20 15:00:47 UTC 2018
I assigned to `base-files` because I imagine it could be something with
/etc/profile /etc/profile.d /etc/environment or so, but it is honestly a
shot in the dark. I could not localize it.
--
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