error sourcing scripts in /etc/profile
In /etc/profile, scripts ending in .sh are sourced from directory /etc/profile.d. In version 3.10 there is a file called color_prompt in that directory, which I assume should have .sh on its filename or the /etc/profile script needs to be changed to source everything in the folder. In the latter case, here is a patch for /etc/profile:
—- /etc/profile.orig
+ /etc/profile
@@ –5,7 +5,7 @@
export PS1=‘\h:\w\$ ’
umask 022
-for script in /etc/profile.d/*.sh ; do
+for script in /etc/profile.d/* ; do
if [ -r $script ] ; then
. $script
fi
(from redmine: issue id 10637, created on 2019-06-30, closed on 2019-06-30)