On 2020-01-31 10:02, François Cami wrote:
We'd rather fail early and print that warning which lets the admin fix
You can see the rationale in the upstream ticket:
As an admin I won't touch user settings, esp. not the locale variables.
All I can do is to provide the locales.
The point is to make freeipa work by default. It did (up to version 4.4,
AFAIU), and now it doesn't. Of course a user has to expect errors if
he or she actively uses UTF-8 without setting the locales accordingly,
but this is not the case here. And its surely not a problem that freeipa
is supposed to resolve.
The point is to show an error if something in freeipa goes wrong. Pro-
actively printing an error message and exit(1) on *ipa help* gives a
very bad first impression. Shouldn't be too difficult to add some code
test -z "$LC_CTYPE$LC_ALL" && export LC_CTYPE=C.UTF-8
to get rid of the problem completely.