Bug 43762
Summary: | inappropriate LANG (i18n locale) settings for servers | ||
---|---|---|---|
Product: | [Retired] Red Hat Linux | Reporter: | Adam Thompson <athompso> |
Component: | xinetd | Assignee: | Trond Eivind Glomsrxd <teg> |
Status: | CLOSED NOTABUG | QA Contact: | David Lawrence <dkl> |
Severity: | low | Docs Contact: | |
Priority: | medium | ||
Version: | 7.1 | ||
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2001-06-07 03:01:58 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Adam Thompson
2001-06-07 03:01:54 UTC
en_US is "C", with working character order and 8 bit characters. It's set this way to avoid locale settings being used: For externally accesible services like ftp etc, using the local language is confusing for users and may destroy the infromation in informational and error messages. Note that this obviously does not affect content in the server - if the content was French, it will continue to be so. Nonetheless, you've successfully broken historical behaviour. There is no reason servers shouldn't use LANG settings. For standard services like ftp, sendmail, etc... the "data" is the numeric response code, and the server *should* respond with cleartext messages of whatever the system's DEFAULT LOCALE IS. Setting LANG=fr_CA at the end of rc scripts is not a _wrong_ way to set the system default language in prior versions of RedHat. There may have been better ways (dunno) but it is certainly accepted practice among other unices. My point is that you are OVERRIDING the administrator's locale preference. Protecting UNIX admins from themselves is NOT appropriate behaviour here. ncftp / > get foobar get foobar: server said: foobar: No such file or directory. ncftp / > There are very few circumstances where a non-English response is appropriate there. I'm Norwegian myself, and my systems have the Norwegian locale as the default - with the exception of external services like this. Why? Because the message needs to be understood by whoever connects to it - and English is the language the net is built upon for better or for worse. |