LANG=C.UTF-8 in squashfs prevents configuration of locale

Bug #1759442 reported by Michael Hudson-Doyle
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
localechooser (Ubuntu)
Fix Released
High
Adam Conrad

Bug Description

The code in 05localechooser assumes that if grep -q ^LANG= /target/etc/default/locale succeeds it's managed to configure the locale. But that file defaults to LANG=C.UTF-8 now and so localechooser never sets the locale.

Revision history for this message
Adam Conrad (adconrad) wrote :

There's code in ubiquity to deal with this situation, probably wants a bit of a cargo-cult (or maybe a wholesale move, if moving it to localechoose, which is embedded in ubiquity, causes the ubiquity code to become redundant)

tags: added: id-5a9fa29eda1dc1b22307ed30
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package localechooser - 2.71ubuntu2

---------------
localechooser (2.71ubuntu2) bionic; urgency=medium

  * Allow localechooser to write out preferences to /etc/default/locale
    even if we're installing to a pre-configured rootfs. (LP: #1759442)
  * Make C.UTF-8 a configurable option and use the same codepaths as C.
  * Set C.UTF-8 as default when localechooser is not seen or preseeded.

 -- Adam Conrad <email address hidden> Fri, 20 Apr 2018 09:08:00 -0600

Changed in localechooser (Ubuntu):
status: Triaged → 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.