Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 20 Aug 2020 11:37:50 -0700
From:      "Drew Tomlinson" <bob811183@gmail.com>
To:        <questions@freebsd.org>
Subject:   Bash Does Not Source /etc/profile
Message-ID:  <0a5901d67721$02a62f80$07f28e80$@gmail.com>

next in thread | raw e-mail | index | archive | help
I performed an binary upgrade from 12.0-p3 to 12.1-p8 and recompiled all
ports.  My shell is set to /usr/local/bin/bash in /etc/passwd.  One thing
that's puzzling is that /etc/profile is no longer sourced when I log in.
However, if I source /etc/profile after I log in, there are no errors.

I have verified my shell is both login and interactive with these code
snippets I found on the web:

[drew@blackcloud ~]$ shopt -q login_shell && echo 'Login shell' || echo 'Not
login shell'
Login shell
[drew@blackcloud ~]$ [[ $- == *i* ]] && echo 'Interactive' || echo 'Not
interactive'
Interactive

What else should I check?

Thanks,

Drew




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?0a5901d67721$02a62f80$07f28e80$>