Reconsider conditions for setting language and formats

Bug #1842349 reported by Gunnar Hjalmarsson
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
accountsservice (Ubuntu)
Fix Released
Medium
Gunnar Hjalmarsson

Bug Description

In connection with the upgrade to 0.6.50 (bug #1789502) the fallback values from /etc/default/locale were set on initialization. While that addresses some aspects of the upstream changes, a need remains to reconsider the conditions in user_change_language_authorized_cb() and user_change_formats_locale_authorized_cb(). Currently it does not take into account if variables were previously set in ~/.pam_environment or not.

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package accountsservice - 0.6.55-0ubuntu9

---------------
accountsservice (0.6.55-0ubuntu9) eoan; urgency=medium

  * debian/patches/0010-set-language.patch:
    - Simplify logic when to set language and formats (LP: #1842349).
  * debian/control:
    - Change Maintainer to Ubuntu Developers.

 -- Gunnar Hjalmarsson <email address hidden> Fri, 13 Sep 2019 22:05:00 +0200

Changed in accountsservice (Ubuntu):
status: In Progress → Fix Released
Revision history for this message
Gunnar Hjalmarsson (gunnarhj) wrote :

I took a step further. Next upload fixes it so that the keyfile remains in sync with ~/.pam_environment, which prevents certain possible cases of inconsistency.

Changed in accountsservice (Ubuntu):
status: Fix Released → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package accountsservice - 0.6.55-0ubuntu10

---------------
accountsservice (0.6.55-0ubuntu10) eoan; urgency=medium

  * debian/patches/0010-set-language.patch:
    - Make the Language and FormatsLocale properties in the keyfile be
      in sync with ~/.pam_environment. In principle this restores the
      behavior to the state before 0.6.50 (LP: #1842349).
  * debian/patches/0016-add-input-sources-support.patch:
    - Refreshed the src/user.c chunks.

 -- Gunnar Hjalmarsson <email address hidden> Sun, 15 Sep 2019 02:45:00 +0200

Changed in accountsservice (Ubuntu):
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.