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

Bug #1759442 reported by Michael Hudson-Doyle on 2018-03-28
This bug affects 1 person
Affects Status Importance Assigned to Milestone
localechooser (Ubuntu)
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.

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
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  Edit
Everyone can see this information.

Other bug subscribers