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

Bug#405627: debootstrap: /etc/hosts is needed to run pbuilder



Hi,

> On Fri, Jan 05, 2007 at 12:19:51AM -0200, Joao Eriberto Mota Filho wrote:
> > Package: debootstrap
> > 
> > The /etc/hosts file isn't copied to destination by debootstrap and the pbuilder command needs this file to
> > work correctly. Without /etc/hosts the pbuilder create command shows:
> > 
> > E: /etc/hosts does not exist, your setup is insane. fix it
> > cp: cannot stat `/etc/hosts': No such file or directory
> >  -> Aborting with an error
> 
> Do you have any comments on the previous bug report?
 
> What should be the correct behaviour for debootstrap?  

I don't think it has been clearly defined, however, in practical
terms, /etc/hosts is a machine-dependent configuration.  Copying
/etc/hosts to be the same might not be a good idea, since debootstrap
can create chroots for use on other machines.


> Isn't the problem avoided when "pbuilder create" is used?

Yes.

regards,
	junichi
-- 
dancer@{debian.org,netfort.gr.jp}   Debian Project



Reply to: