On Sonntag, 25. Dezember 2022 17:15:01 CET Patrick McNeil wrote: [...]
This seems to come from spurious carriage returns generated by environment variables setting BASH_FUNC_* Firstly: Happens with ssh from Tumbleweed or Leap 15.4 to Leap 15.4 Affects only bash, tcsh does not show this error. This error depends on which packages are installed
It also happens from Fedora or Windows systems to a Leap 15.4 system.
Setting verbose in /etc/profile.d/openssh-dbus.sh shows variables that are set, but that are on two lines (the last line being a single closing brace "}"), so this single character is probably being attempted to be set as an environment variable (which does not work).
No, not here. I get the message from the subject for every variable. As I wrote in a former message, I replaced the --all with a few lines setting one variable at a time, and I get the message for every line.
The variables being set on my instance are: BASH_FUNC_module%%, BASH_FUNC_mc%%, and BASH_FUNC_ml%%. These are the only variables with the BASH_FUNC_ prefix. Removing these packages (Lmod and MC: 'zypper remove lua-lmod mc') eliminates the error. I have not found the source that is setting the variables, but I imagine that since there is already an open case, it will be found and corrected.
These variables don't exist at the point, /etc/profile.d/openssh-dbus.sh is called. At this point only about 20 variables exist - and none of them contains special characters.