language-selector updates /etc/environment when it shouldn't, and gives results that are inconsistent with an initial install
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
language-selector (Ubuntu) |
Fix Released
|
High
|
Unassigned | ||
Precise |
Won't Fix
|
High
|
Unassigned | ||
Quantal |
Fix Released
|
High
|
Unassigned |
Bug Description
To debug bug #1034806, I configured Russian locale support using language-selector. Afterwards I noticed that both /etc/environment and /etc/default/locale had been populated with the set of environment variables. This is wrong, language-selector should *only* be updating /etc/default/
The output of language-selector is also very different from the output of ubiquity: whereas ubiquity only sets the LANG variable, language-selector outputs the full range of LC_* variables as well as LANG and LANGUAGE. I don't know of any specific bugs resulting from this, but I have seen bug reports in the past related to LC_* variables and I'm concerned that this inconsistency will cause confusing behavior in some cases.
ProblemType: Bug
DistroRelease: Ubuntu 12.10
Package: language-
ProcVersionSign
Uname: Linux 3.5.0-8-generic x86_64
ApportVersion: 2.4-0ubuntu6
Architecture: amd64
Date: Fri Aug 10 15:39:57 2012
InstallationMedia: Ubuntu 10.04.1 LTS "Lucid Lynx" - Release amd64 (20100816.1)
PackageArchitec
SourcePackage: language-selector
UpgradeStatus: Upgraded to quantal on 2012-06-11 (60 days ago)
Related branches
tags: | removed: runing-unity |
The duplication between files is important enough that I think an SRU to the preceding LTS is warranted (with cleanup handling in the postinst to remove any duplicate entries).