Description of problem: The init scripts use the system default locale instead of the current locale. This happens whether they include /etc/profile.d/lang.sh or not. The result is that although I set LANG to see English output for debugging purposes, the output is still in French, the default system locale: # cat /ets/sysconfig/i18n LANG="fr_FR.UTF-8" SYSFONT="latarcyrheb-sun16" SUPPORTED="en_US.UTF-8:en_US:en:fr_FR.UTF-8:fr_FR:fr:de_DE.UTF-8:de_DE:de:el_GR.UTF-8:el_GR:el:ko_KR.UTF-8:ko_KR:ko" # # /etc/init.d/portmap status portmap (pid 1785) en cours d'exécution... # I think these scripts should honor the current locale because they're sometimes run by the administrator for debugging purposes, not only at system startup. Version-Release number of selected component (if applicable): initscripts-8.11.1-1 How reproducible: Every time. Steps to Reproduce: 1. Set current locale to be different from the system default one. 2. Run an init script. Actual results: # export LANG=C # /etc/init.d/ypbind status ypbind est arrêté # Expected results: # export LANG=C # /etc/init.d/ypbind status ypbind is stopped #
*** Bug 161072 has been marked as a duplicate of this bug. ***
*** Bug 161062 has been marked as a duplicate of this bug. ***
*** Bug 161064 has been marked as a duplicate of this bug. ***
*** Bug 161066 has been marked as a duplicate of this bug. ***
*** Bug 161065 has been marked as a duplicate of this bug. ***
*** Bug 161063 has been marked as a duplicate of this bug. ***
*** Bug 161067 has been marked as a duplicate of this bug. ***
*** Bug 161069 has been marked as a duplicate of this bug. ***
This means that the output of a script would change based on how the user may have configured their language, as opposed to being generally consistent across the system. That could surprise users; as such, I'm not sure I'd want to make this change now. Perhaps once http://fedoraproject.org/wiki/FCNewInit is in place, this could be revisited.