On 12/09/17 15:01, Chet Ramey wrote:
Since it doesn't happen on any other OS, I suspect an issue with either the FreeBSD port or the pathname that appears in argv[0] when the shell is started, which is what bash uses to detect that it's been invoked as a login shell.
The full path is /usr/local/bin/bash as set in passwd db. It doesn't run ~/.profile when I run it manually using this path.
Yuri