Public bug reported:
Hi
localechooser writes /etc/default/locale with quotes protecting LANG and
LANGUAGE; typically after an install the file contains something like:
LANG="en_US.UTF-8"
however pam_env expects VAR=VALUE lines, without quotes. This causes
LANG to be set literally to "en_US.UTF-8" with the quotes; this is of
course not a valid locale name.
[ I raised this bug to Michael Vogt during UDS as I was seeing this
after using language-selector, he fixed language-selector to write
LANG=foo instead of LANG="foo", but this only fixes the issue for people
who will run language-selector in the future. ]
I believe we should change pam_env to strip qutoes, perhaps only for
certain env vars; we can also change localechooser to stop using quotes
for new installs.
Cheers
** Affects: localechooser (Ubuntu)
Importance: Undecided
Status: New
** Affects: pam (Ubuntu)
Importance: Undecided
Status: New
** Also affects: localechooser (Ubuntu)
Importance: Undecided
Status: New
--
pam_env's and localechooser's usage of quotes for /etc/default/locale conflicts
https://bugs.launchpad.net/bugs/387262
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs