Purges all installed locales

Bug #527381 reported by Loïc Minier on 2010-02-24
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
VMBuilder
Undecided
Unassigned
vm-builder (Ubuntu)
Medium
Unassigned

Bug Description

Hi

The first time one runs vm-builder on a freshly installed Ubuntu system with a locale which isn't on the host system, it will run locale-gen $lang to test whether the --lang locale is valid. On a newly installed system, /var/lib/belocs is missing and this causes locale-gen to switch to "purge" mode. As a result, all locales on the system are lost after the test.

The second time, because /var/lib/belocs exists, this doesn't happen.

Bye,

ProblemType: Bug
Architecture: amd64
Date: Wed Feb 24 23:03:07 2010
DistroRelease: Ubuntu 10.04
Package: python-vm-builder 0.12.0-0ubuntu1
PackageArchitecture: all
ProcEnviron:
 LANGUAGE=fr_FR.UTF-8
 PATH=(custom, user)
 LANG=fr_FR.UTF-8
 SHELL=/bin/zsh
ProcVersionSignature: Ubuntu 2.6.32-14.20-generic
SourcePackage: vm-builder
Uname: Linux 2.6.32-14-generic x86_64

Related branches

Loïc Minier (lool) wrote :
Loïc Minier (lool) wrote :

Hmm I'm not sure /var/lib/belocs was missing on my system; another explanation is that old md5sum were not present, see gen_md5sum() in /usr/sbin/locale-gen. I certainly have hashfile.new and .old files in /var/lib/belocs.

Changed in vm-builder (Ubuntu):
importance: Undecided → Critical
Soren Hansen (soren) wrote :

Lowering to medium importance. No data is lost that cannot easily be regenerated, and it does not affect a large proportion of Ubuntu users.

Changed in vm-builder (Ubuntu):
importance: Critical → Medium
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package vm-builder - 0.12.2-0ubuntu3

---------------
vm-builder (0.12.2-0ubuntu3) lucid; urgency=low

  * Re-add quilt patch series.
  * New patch, locale-preflight-check, drops locale-gen preflight_check() call
    which might remove all locales from the *host*; LP: #527381.
 -- Loic Minier <email address hidden> Mon, 01 Mar 2010 10:50:05 +0100

Changed in vm-builder (Ubuntu):
status: New → Fix Released
Soren Hansen (soren) on 2010-05-12
Changed in vmbuilder:
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers