← Back to team overview

dx-packages team mailing list archive

[Bug 1662031] Re: Switching language and format broken

 

In /etc/pam.d/gdm-launch-environment:

    session required        pam_env.so readenv=1 user_readenv=1
envfile=/etc/default/locale

In pam_env.c (handle_env function), the env should be set from
/etc/default/locale and then overridden by ~/.pam_environment. If I add
the 'debug' parameter to the module invokation, I see only the calls to
pam_putenv corresponding to /etc/default/locale, which means that for
some reason to be determined ~/.pam_environment is not being sourced.

-- 
You received this bug notification because you are a member of DX
Packages, which is subscribed to accountsservice in Ubuntu.
Matching subscriptions: dx-packages
https://bugs.launchpad.net/bugs/1662031

Title:
  Switching language and format broken

Status in Ubuntu GNOME:
  New
Status in accountsservice package in Ubuntu:
  New
Status in gdm3 package in Ubuntu:
  Confirmed
Status in gnome-control-center package in Ubuntu:
  New
Status in accountsservice source package in Artful:
  New
Status in gdm3 source package in Artful:
  Confirmed
Status in gnome-control-center source package in Artful:
  New

Bug description:
  In Ubuntu GNOME 16.10 it doesn't matter what display language I select
  - the effective language is still the one stated in
  /etc/default/locale. ~/.pam_environment is changed as expected, but
  the variables set in /etc/default/locale override ~/.pam_environment.

  In Ubuntu GNOME 16.04 language switching takes effect, but the reason
  for that seems to be that /etc/default/locale is changed as well, so
  when a user changes the display language (or format), it changes it
  for all users on the system.

  The overriding by /etc/default/locale is probably caused by some other
  package(s) but g-c-c.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu-gnome/+bug/1662031/+subscriptions