locale is not set up before mythtv-backend start causing problems in mythvideo with accentuated chars
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Mythbuntu |
Fix Released
|
Medium
|
Unassigned | ||
mythtv (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Spotted that in 10.04, the locale is not set before mythtv-backend is started. This prevents mythtv-backend to find any file with non-ascii characters in the filename or the path (for example: /var/lib/
While starting mythbuntu-backend, the locale is POSIX. I modified "/etc/init/
#######
# MythTV Backend service
description "MythTV Backend"
author "Mario Limonciello <email address hidden>"
start on (local-filesystems and net-device-up IFACE=lo)
stop on starting shutdown
#expect fork
respawn
script
USER=mythtv
locale >/tmp/mythbacke
test -f /etc/default/
end script
#######
Result:
#######
LANG=
LC_CTYPE="POSIX"
LC_NUMERIC="POSIX"
LC_TIME="POSIX"
LC_COLLATE="POSIX"
LC_MONETARY="POSIX"
LC_MESSAGES="POSIX"
LC_PAPER="POSIX"
LC_NAME="POSIX"
LC_ADDRESS="POSIX"
LC_TELEPHONE=
LC_MEASUREMENT=
LC_IDENTIFICATI
LC_ALL=
#######
Adding LC_ALL=de_CH.utf8 LANG=de_CH.utf8 in front of /usr/bin/
Where is locale supposed to be set up in this whole upstart-process?
Changed in mythtv (Ubuntu): | |
status: | New → Fix Committed |
tags: | added: patch |
Changed in mythbuntu: | |
status: | Fix Committed → Fix Released |
Thank you for helping to improve Mythbuntu, not only by opening this ticket, but by suggesting a fix! I am marking this ticket as triaged because it appears to have enough information to help the developers understand the problem. It is possible I am wrong and another more experienced triager or developer may adjust the status of the ticket to "incomplete" and request additional information.