Comment # 19 on bug 1219979 from Dr. Werner Fink
Created attachment 874405 [details]
bash.bashrc.local and profile.local

Can we please all togehter calm down.  First of all the change in bash for
exporting shell functions (which in fact is a bash only feature) was due to a
possible security attack called Shellshock.  The way was to use suffixes `%%'
and this is not OpenSUSE but upstream.

And if systemd does not allow such variables due to their rules (also not
OpenSUSE but upstream) the question is how to get bash specific environment
variables system wide provided for all bash sessions.  The way to go could be
/etc/bash.bashrc.local and /etc/profile.local ... first fo all interactive
bash session last on for all login bash sessions.

The only question is why are you require variables for coloring in
noninteractive bash sessions?  Also you could add the shell functions to
/etc/bash.bashrc.local to have those in every interactive bash session.
Within bash scripts the better way is to define those function in those scripts
or source the declaring bash syntax file.


You are receiving this mail because: