Bug 1000214
Summary: | service can not use the language LANG= correctly | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux 6 | Reporter: | JianHong Yin <jiyin> |
Component: | initscripts | Assignee: | Lukáš Nykrýn <lnykryn> |
Status: | CLOSED WONTFIX | QA Contact: | qe-baseos-daemons |
Severity: | high | Docs Contact: | |
Priority: | unspecified | ||
Version: | 6.4 | CC: | jamacku, msekleta, xzhou, yuokada |
Target Milestone: | rc | Keywords: | Reopened |
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2019-11-21 14:36:12 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
JianHong Yin
2013-08-23 01:05:15 UTC
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. It is stated in service(8) that LANG environment variable is passed to the init scripts. ENVIRONMENT LANG, TERM The only environment variables passed to the init scripts. In fact, however, LANG is not passed as shown below. # echo $LANG ja_JP.UTF-8 # LANG=C service corosync status corosync は停止しています # LANG=C /etc/init.d/corosync status corosync is stopped It appears this is not an expected behavior. This bug is currently fixed in upstream[1]. The LANG variable was never intended to be passed, so we fix man page. Unfortunately we no longer fix these type of bugs in RHEL6. [1] https://github.com/fedora-sysv/initscripts/commit/1fcae34d2fadb0ec46bd26b086b82ebefe033f65 |