Changeset - bc8603af5e18
[Not reviewed]
0 1 0
Branko Majic (branko) - 7 months ago 2025-05-11 23:07:20
branko@majic.rs
MAR-245: Fix locale-related errors by reworking the SSH config workaround:

- Looks like SetEnv takes precedence over SendEnv, and seems like
ordering matters for when the locale gets set. If user overrides
some individual LC_* variables, LC_ALL has to be set prior to user
configuration to take effect.
1 file changed with 4 insertions and 5 deletions:
0 comments (0 inline, 0 general)
.ssh_config_molecule
Show inline comments
 
# Include the system and user configuration, but make sure not to send
 
# over any environment variables to the test machines by default. This
 
# helps avoid eventual errors related to locale being passed on to the
 
# remote machine.
 
# Include the system and user configuration, but explicitly set the
 
# locale to avoid errors related to mismatch between the
 
# available/configured locales in host and test machine.
 
SetEnv LC_ALL="C.UTF-8"
 
Include /etc/ssh/ssh_config
 
Include ~/.ssh/config
 
SendEnv -*
0 comments (0 inline, 0 general)