Hardy: ltsp-build-client fails in/after 025-locales

Bug #184316 reported by laga
2
Affects Status Importance Assigned to Milestone
ltsp (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

Hi,

I've installed Hardy Alpha 3 and brought the box up to date. Then I've installed lts-server and started ltsp-build-client --copy-sourceslist --debug. Building the chroot failed with the following messages:

DEBUG: Loading plugin: /usr/share/ltsp/plugins/ltsp-build-client/Ubuntu/025-locales
error: LTSP client installation ended abnormally

I'm going to attach the full log.

Related branches

Revision history for this message
laga (laga) wrote :
Revision history for this message
laga (laga) wrote :

I believe I have found the problem.

If LANG is set to C in the environment where ltsp-build-client is started, then 025-locales will still attempt to run locale-gen $LANG inside the chroot. This won't work:

laga@prometheus:~$ locale-gen C; echo $?
1

It works fine if $LANG is set to a different value, though.

I'm going to have a patch ready in a few minutes.

Revision history for this message
laga (laga) wrote :

Here's a simple fix.

Revision history for this message
laga (laga) wrote :

Updated patch as per ogra's recommendations. Untested, though :)

Revision history for this message
Daniel Holbach (dholbach) wrote :

To get your fix (or workaround) included in Ubuntu, try transforming it into a patch (http://wiki.ubuntu.com/PackagingGuide/Recipes/Debdiff) and submitting it for review (http://wiki.ubuntu.com/SponsorshipProcess).

Revision history for this message
Daniel Holbach (dholbach) wrote :

Nevermind my comments.... LTSP development happens in bzr, so it's all good to have the patch in here.

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

This bug was fixed in the package ltsp - 5.0.40~bzr20080212-0ubuntu1

---------------
ltsp (5.0.40~bzr20080212-0ubuntu1) hardy; urgency=low

  * new upstream version with fixes for the following bugs:
   LP: #149006 (default to 24bit colordepth)
   LP: #190419 (move .nbi image out of the way before regeneration)
   LP: #113709 (security server sources.list entry handling)
   LP: #135419 (chroot upgrade issues)
   LP: #177926 (documentation fix)
   LP: #184316 (client locale handling (default to en_GB if none is set)
   LP: #189237 (fix path handling, remove trailing slashes from arguments)
   LP: #132397 (handle proxies with apt)
   LP: #148109 (only use getltscfg if lts.conf is valid)
   LP: #172459 (only use free nbd devices to do network swapping)
  * install our own dhcpd.conf
  * add rdesktop to ltsp-client deps (LP: #153589)
  * fix xorg deps of ltsp-client (LP: #158735)
  * add plugin for mythbuntu kiosk setup (LP: #188413), thanks to Michael Haas

 -- Oliver Grawert <email address hidden> Mon, 12 Feb 2008 17:48:48 +0100

Changed in ltsp:
status: New → 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.