ltsp-build-client cannot resolve host name

Bug #72482 reported by Paolo Benvenuto
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
ltsp (Ubuntu)
Fix Released
Wishlist
Oliver Grawert

Bug Description

Binary package hint: ltsp-client-builder

ltsp-build-client used with the --mirror option cannot resolve the mirror host name when it performs the "apt-get update" after installing the base system.

I run it as:

sudo ltsp-build-client --mirror http://parroquia:3142/archive.ubuntu.com/ubuntu

where parroquia is the apt-cacher host I use.

All was rigth until finishing installing the base system.

After that (and after some perl warning) at the moment of the apt-get update it said that it couldn't resolve host name "parroquia". Of course the program exited with error.

parroquia is a localnet host whose IP is defined in /etc/hosts

I think it could be fixed copying to the ltsp chroot the /etc/hosts file at the beginning of the ltsp-build-client script.

Related branches

Revision history for this message
Paolo Benvenuto (donpaolo) wrote :

In the above example parroquia is a localnet host whose IP is defined in /etc/hosts

description: updated
description: updated
Revision history for this message
Oliver Grawert (ogra) wrote :

can you confirm it works if you use the ip address of the server ?

Changed in ltsp:
assignee: nobody → ogra
Revision history for this message
Paolo Benvenuto (donpaolo) wrote :

Yes, with the IP of the server it works.

Revision history for this message
Oliver Grawert (ogra) wrote :

ok, i'll add a switch to ltsp-build-client for that special case in feisty.

Changed in ltsp:
importance: Undecided → Wishlist
status: Unconfirmed → Confirmed
Revision history for this message
Launchpad Janitor (janitor) wrote :

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

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

  * make sure the right proxy line is set in the chroot, thanks
    to stephane graber for that fix (LP: #213927)
  * make acpid [ i386 amd64 ] only dependency, since its not not available on ppc
    (LP: #213014, LP: #199747)
  * fix configure-x.sh interpreter line (LP: #196706)
  * make sure resolv.conf is available in the chroot (LP: #72482)
  * merge fix for dhcp port handling, thanks to Michael Haas, (LP: #198356)
  * we only tell users with nfs-kernel-server installed that they need to
    update /etc/exports (LP: #198915)
  * fix kiosk plugin to use the right package names (LP: #163278, LP: #212738)
  * fix hardcoded path in ltsp-update-image and quiten down noisy rm commands
    (LP: #198157)
  * make sure the ltsp-update-* scripts operate on symlinked dirs (LP: #151503)
  * add final updates for mythbuntu plugin and drop accidentially included
    patch file from debian/extra-plugins (LP: #212550)

 -- Oliver Grawert <email address hidden> Tue, 08 Apr 2008 15:03:51 +0200

Changed in ltsp:
status: Confirmed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.