FS#27498 - [initscripts 2011.11.3-1] LANG is not exported
Attached to Project:
Arch Linux
Opened by hydro (hydro) - Thursday, 08 December 2011, 22:19 GMT
Last edited by Tom Gundersen (tomegun) - Tuesday, 13 December 2011, 00:02 GMT
Opened by hydro (hydro) - Thursday, 08 December 2011, 22:19 GMT
Last edited by Tom Gundersen (tomegun) - Tuesday, 13 December 2011, 00:02 GMT
|
Details
Some daemons may (I can only speak of a self created vdr
package) fail to set the locale correctly, if
DAEMON_LOCALE="yes" is set in /etc/rc.conf and
/etc/locale.conf does not exist. IMHO /etc/rc.d/functions
should be modified
@@ -596,7 +596,7 @@ set_consolefont() { } if [[ $DAEMON_LOCALE = [yY][eE][sS] ]]; then - LANG=${LOCALE:-C} + export LANG=${LOCALE:-C} if [[ -r /etc/locale.conf ]]; then parse_envfile /etc/locale.conf "${localevars[@]}" fi At least this solved the issue for me. |
This task depends upon
Closed by Tom Gundersen (tomegun)
Tuesday, 13 December 2011, 00:02 GMT
Reason for closing: Fixed
Additional comments about closing: Fixed in git. Thanks for reporting!
Tuesday, 13 December 2011, 00:02 GMT
Reason for closing: Fixed
Additional comments about closing: Fixed in git. Thanks for reporting!