[Bug 1755185] [NEW] `sh -l` - PATH not exported

Launchpad Bug Tracker 1755185 at bugs.launchpad.net
Thu Sep 20 12:04:46 UTC 2018


You have been subscribed to a public bug:


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
```

** Affects: base-files (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: bot-comment
-- 
`sh -l` - PATH not exported
https://bugs.launchpad.net/bugs/1755185
You received this bug notification because you are a member of Ubuntu Foundations Bugs, which is subscribed to base-files in Ubuntu.



More information about the foundations-bugs mailing list