| Summary: | media-tv/gentoo-vdr-scripts with sys-apps/systemd - vdr-systemd_helper.sh fails to set locale | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | dieter ferdinand <dieter.ferdinand> |
| Component: | Current packages | Assignee: | Gentoo VDR Project <vdr> |
| Status: | RESOLVED NEEDINFO | ||
| Severity: | normal | CC: | lucianm |
| Priority: | High | ||
| Version: | unspecified | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
This depends also on openrc start scripts, i found out, somewhere in the past was missing the /usr/share/vdr/capabilities.sh i am not shure yet, is it an error in the gentoo-vdr-scripts or some major changes in the core vdr... gentoo-vdr-scripts-2.5 released on 2015/01/01 fixed this issue --- let me add some comments to use LC_ALL from several localisation howto's "Warning Using LC_ALL is strongly discouraged as it can't be overridden later on. Please use it only when testing and never set it in a startup file." or in german "Warnung: Vom Gebrauch von LC_ALL wird energisch abgeraten, da diese Variable später nicht einfach überschrieben werden kann. Bitte benutzen Sie es nur zum Testen und setzen Sie es niemals in einer Startdatei." anyway, i am added LC_ALL part #commented to the script for your personal use only, feel free to us it, or let it #commented and report it here, if it will still works without override of LC_ALL I will remove it then on next public release Thx for reporting and help out could this be closed finally then? Thanks |
hello, i try to set locale for vdr to german, but this don't work. i analyze the problem and found, that the env-variable, which sets the locale is not set for vdr. i append some lines after this line: echo "VDR_OPTS=\"${vdr_opts}\"" > ${SYSTEMD_ENV_FILE} new lines: echo "LANG=$LANG" >> ${SYSTEMD_ENV_FILE} echo "LC_ALL=$LANG" >> ${SYSTEMD_ENV_FILE} after this update of this script, i can change the language to german. goodby Reproducible: Always