# locale LANG=fi_FI.UTF-8 LC_CTYPE="fi_FI.UTF-8" LC_NUMERIC="fi_FI.UTF-8" LC_TIME="fi_FI.UTF-8" LC_COLLATE="fi_FI.UTF-8" LC_MONETARY="fi_FI.UTF-8" LC_MESSAGES="fi_FI.UTF-8" LC_PAPER="fi_FI.UTF-8" LC_NAME="fi_FI.UTF-8" LC_ADDRESS="fi_FI.UTF-8" LC_TELEPHONE="fi_FI.UTF-8" LC_MEASUREMENT="fi_FI.UTF-8" LC_IDENTIFICATION="fi_FI.UTF-8" LC_ALL= # echo $LANGUAGE en_GB.UTF-8:en_US.UTF-8:en.UTF-8 # service sshd restart Suljetaan sshd: [ OK ] Käynnistetään sshd: [ OK ] --> Should be (should honor LANGUAGE): # service sshd restart Stopping sshd: [ OK ] Starting sshd: [ OK ] # LC_MESSAGES=en_GB.UTF-8 service sshd restart Suljetaan sshd: [ OK ] Käynnistetään sshd: [ OK ] --> Should be (should honor LC_MESSAGES): # LC_MESSAGES=en_GB.UTF-8 service sshd restart Stopping sshd: [ OK ] Starting sshd: [ OK ] The correct way is to first check LANGUAGE, then LC_MESSAGES, and last LANG. Now it always only checks LANG. As you see: # LANG=en_GB.UTF-8 service sshd restart Stopping sshd: [ OK ] Starting sshd: [ OK ] Only /sbin/service is broken, as you see: # /etc/init.d/sshd restart Stopping sshd: [ OK ] Starting sshd: [ OK ] This bug happens at least in F8: # rpm -q --whatprovides /sbin/service initscripts-8.60-1.x86_64
*** This bug has been marked as a duplicate of 422141 ***