[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#512066: problem identified



Package: buildd.emdebian.org
tag 512066 + confirmed
retitle 512066 debootstrap needs customised hostname handling
severity 512066 important
thanks

On Fri, 16 Jan 2009 22:12:25 +0100
Jelle de Jong <jelledejong@powercraft.nl> wrote:

> I did some research and the problem is that there is no hostname. The
> below command fix this.
> 
> up to the next issue.
> 
> unset LANG
> echo "emdebian" | tee /etc/hostname
> echo "127.0.0.1    emdebian localhost.localdomain localhost" | tee
> /etc/hosts
> dpkg --configure -a

Yes, this is an old (-ish) bug but it's difficult to see how to fix it
without using Debian-Installer to set a user-specified hostname.

Setting a default hostname is problematic. Copying the hostname of the
host system is normal practice for a chroot because it's not expected
to copy that debootstrap onto a completely different machine.

Whatever scripts people use to copy the debootstrap onto the device
need to make that decision and implement the appropriate fix.

Ideas?

-- 


Neil Williams
=============
http://www.data-freedom.org/
http://www.linux.codehelp.co.uk/
http://e-mail.is-not-s.ms/

Attachment: pgptbbSg271IW.pgp
Description: PGP signature


Reply to: