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 Touch seeded packages, 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 -- Mailing list: https://launchpad.net/~touch-packages Post to : [email protected] Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp

