when sudo -u build the envs LANG and LC_CTYPE are unset.
sudo -u build
LANG
LC_CTYPE
This forces util-linux's col command to fail on UTF-8 input.
col
our system defaults are
LANG=C LC_CTYPE=en_US.UTF-8
setting them in the build scipts does fix the issue.
The text was updated successfully, but these errors were encountered:
Most environment variables are unset by sudo. The switches below exist to change that behavior.
-E, --preserve-env
--preserve-env=list
Sorry, something went wrong.
That's not the point. I don't want the sudo process to inherit ANY $ENV my process has.
That said: PATH is set, LANG not.
PATH
No branches or pull requests
when
sudo -u build
the envsLANG
andLC_CTYPE
are unset.This forces util-linux's
col
command to fail on UTF-8 input.our system defaults are
setting them in the build scipts does fix the issue.
The text was updated successfully, but these errors were encountered: