Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

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
Task Type Bug Report
Category Packages: Core
Status Closed
Assigned To Tom Gundersen (tomegun)
Architecture All
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 2
Private No

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!

Loading...