Red Hat Bugzilla – Bug 1000214
service can not use the language LANG= correctly
Last modified: 2016-11-25 08:08:39 EST
Description of problem:
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. install a rhel6.4 with chinese simplified language set
2. see the follow section: Actual results
[root@dhcp-13-188 ~]# LANG=C /etc/init.d/autofs start
Starting automount: [ OK ]
[root@dhcp-13-188 ~]# LANG=C /etc/init.d/autofs stop
Stopping automount: [ OK ]
[root@dhcp-13-188 ~]# LANG=C service autofs start
正在启动 automount： [确定]
`--> LANG=C setup should output in english ...
[root@dhcp-13-188 ~]# LANG=C service autofs stop
停止 automount： [确定]
I am not sure that this is a bug. As it is stated in the manpage "service
runs a System V init script in as predictable environment as possible,
removing most environment variables". Service is supposed to remove settings of environment variables.
This request was not resolved in time for the current release.
Red Hat invites you to ask your support representative to
propose this request, if still desired, for consideration in
the next release of Red Hat Enterprise Linux.
NOTABUG for reason from comment 2