Bash Does Not Source /etc/profile

Yasuhiro KIMURA yasu at
Thu Aug 20 20:32:06 UTC 2020

From: "Drew Tomlinson" <bob811183 at>
Subject: Bash Does Not Source /etc/profile
Date: Thu, 20 Aug 2020 11:37:50 -0700

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

It is result of following commit.

r542373 | ehaupt | 2020-07-17 02:14:53 +0900 (2020/07/17 (金)) | 8 lines

Cleanly decouple bash from base by reading `profile` from $LOCALBASE/etc/
instead of from /etc.

Document this change in UPDATING and provide a migration strategy.

PR:             247934 (based on)
Submitted by:   Michael Osipov <michael.osipov at>


Read entry of 20200716 in UPDATING for more detail.

Yasuhiro KIMURA

More information about the freebsd-questions mailing list