en_US.UTF-8 locale being generated on boot

Bug #1722828 reported by Steve Langasek
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
casper (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

When booting the server-live image without splash, I am seeing en_US.UTF-8 being generated on boot. I guess this may be a cloud-init thing. We should avoid generating locales at boot; any locales we require should be pregenerated, and we should likely default to C.UTF-8 instead of en_US.UTF-8.

Revision history for this message
Steve Langasek (vorlon) wrote :

Turns out this is an inherited chroot include, live-build/ubuntu-touch/includes.chroot/etc/default/locale. We should not set en_US.UTF-8 here.

affects: subiquity → livecd-rootfs
Revision history for this message
Steve Langasek (vorlon) wrote :

I retract that. It's not in livecd-rootfs at all; the file is not in the squashfs. I am still tracking down where this comes from.

Revision history for this message
Steve Langasek (vorlon) wrote :

casper:

scripts/casper-bottom/14locales

if [ -z "${locale}" ]; then
    # Set a default one
    locale=en_US.UTF-8
    set_locale="true"
fi

Steve Langasek (vorlon)
affects: livecd-rootfs → casper
affects: casper → casper (Ubuntu)
Steve Langasek (vorlon)
Changed in casper (Ubuntu):
status: New → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package casper - 1.385

---------------
casper (1.385) artful; urgency=medium

  * scripts/casper-bottom/14locales: default locale should always be
    C.UTF-8, not en_US.UTF-8. LP: #1722828.

 -- Steve Langasek <email address hidden> Wed, 11 Oct 2017 13:14:41 -0400

Changed in casper (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.