LTSP scripts break with Estonian locale
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
LTSP5 |
Fix Released
|
Medium
|
Alkis Georgopoulos |
Bug Description
Hi,
using Estonian locales regex [a-z] excludes letters t, u, v, w, x, y and this breaks several LTSP scripts.
Firstly I've noticed that LANG=C is necessary for building client, you can easily reproduce it by running LANG=et_EE.UTF-8 ltsp-build-client
I also isolated a piece of code which prevents local devices appearing on desktop with Estonian locale, it's a sed expression on line 104 here
http://
I think it would be good idea to run recursive grep over the LTSP script tree to identify a-z regexes and substitute them with [:alnum:] or similar, see similar fixes below
https:/
http://
https:/
https:/
Related branches
description: | updated |
Changed in ltsp: | |
importance: | Undecided → Medium |
this highlights a number of problems in much of our code; I suspect a few uses of "sort" will also be impacted by locale settings.
From a quick glance at LTSP (not including LDM), I've found such code used by "tr", "sed", "expr", and even "perl" where they may not consistantly use the same regex.
We may need to selectively force the locale to C or C.UTF-8 for certain operations...
Looks like we need a bit of an audit...