Bug#377138: [Pbuilder-maint] Bug#377138: pbuilder can't work if env does not contain HOSTNAME

LI Daobing lidaobing at gmail.com
Sat Jul 8 05:26:12 UTC 2006


On 7/8/06, Junichi Uekawa <dancer at netfort.gr.jp> wrote:
> Hi,
>
> > > Can you try getting the output of the following commands?
> > >
> > > which hostname
> > > strace hostname -f
> > > dpkg -S hostname
>
> I see that you're getting 'localhost' as your hostname. Do you have HOSTNAME set?

I should set HOSTNAME in my .bashrc? I think it should be set in
/etc/init.d or in bash.

> Could you reproduce the 'failure' case please?

yes, if env does not contain HOSTNAME, pbuilder failed.

-- 
LI Daobing




More information about the Pbuilder-maint mailing list