~/.bin and ~/.local/bin are added to the path by /etc/skel/.profile which is shipped in the bash package.
It's debatable whether these should be added to the path unconditionally, or only if they exist. It is convenient to have the directories automatically available on the path as soon as they are created, without having to relogin / re-source the shell config; conversely, it means a couple of extra pointless stats on every exec() call. Regardless, though, I don't think it's correct that your certification suite should throw errors as a result of directories on the PATH not being present on the filesystem. ** Package changed: base-files (Ubuntu) => bash (Ubuntu) ** Changed in: bash (Ubuntu) Importance: Undecided => Low ** Changed in: bash (Ubuntu) Status: New => Triaged -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1711254 Title: 16.04.3 deployments include non-existent directories in $PATH To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/bash/+bug/1711254/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs