[Bug 1035498] Re: language-selector updates /etc/environment when it shouldn't, and gives results that are inconsistent with an initial install
Steve Langasek
1035498 at bugs.launchpad.net
Thu Oct 14 04:48:28 UTC 2021
The Precise Pangolin has reached end of life, so this bug will not be
fixed for that release
** Changed in: language-selector (Ubuntu Precise)
Status: Triaged => Won't Fix
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to language-selector in Ubuntu.
https://bugs.launchpad.net/bugs/1035498
Title:
language-selector updates /etc/environment when it shouldn't, and
gives results that are inconsistent with an initial install
Status in language-selector package in Ubuntu:
Fix Released
Status in language-selector source package in Precise:
Won't Fix
Status in language-selector source package in Quantal:
Fix Released
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/locale: all pam_env-enabled services are supposed to read
from both /etc/environment and /etc/default/locale, precisely so that
/etc/default/locale can be used as the *one* file on the system where
default locale settings are specified.
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-selector-gnome 0.84
ProcVersionSignature: Ubuntu 3.5.0-8.8-generic 3.5.0
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)
PackageArchitecture: all
SourcePackage: language-selector
UpgradeStatus: Upgraded to quantal on 2012-06-11 (60 days ago)
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/language-selector/+bug/1035498/+subscriptions
More information about the foundations-bugs
mailing list