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

2006-07-08 Thread LI Daobing
On 7/8/06, Junichi Uekawa <[EMAIL PROTECTED]> wrote: Hi, > > I mean, please re-send > > > > strace hostname -f > > > > that fails. > > > $ strace hostname -f > execve("/bin/hostname", ["hostname", "-f"], [/* 40 vars */]) = 0 [snip] > write(1, "localhost\n", 10localhost > )

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

2006-07-08 Thread Junichi Uekawa
Hi, > > I mean, please re-send > > > > strace hostname -f > > > > that fails. > > > $ strace hostname -f > execve("/bin/hostname", ["hostname", "-f"], [/* 40 vars */]) = 0 [snip] > write(1, "localhost\n", 10localhost > ) = 10 > munmap(0x2b6a993a9000, 4096)= 0 > e

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

2006-07-07 Thread LI Daobing
On 7/8/06, Junichi Uekawa <[EMAIL PROTECTED]> wrote: > > > which hostname > > > strace hostname -f > > > dpkg -S hostname > > I see that you're getting 'localhost' as your hostname. Do you have HOSTNAME set? > Could you reproduce the 'failure' case please? I mean, please re-send strac

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

2006-07-07 Thread Junichi Uekawa
> > > which hostname > > > strace hostname -f > > > dpkg -S hostname > > I see that you're getting 'localhost' as your hostname. Do you have HOSTNAME > set? > Could you reproduce the 'failure' case please? I mean, please re-send strace hostname -f that fails. regards, junic

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

2006-07-07 Thread LI Daobing
On 7/8/06, Junichi Uekawa <[EMAIL PROTECTED]> 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

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

2006-07-07 Thread Junichi Uekawa
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? Could you reproduce the 'failure' case please? regards, junichi -- [E

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

2006-07-07 Thread LI Daobing
On 7/7/06, Junichi Uekawa <[EMAIL PROTECTED]> wrote: Can you try getting the output of the following commands? which hostname strace hostname -f dpkg -S hostname I really you have a broken network setup of some sort. $ which hostname /bin/hostname $ strace hostname -f execve("/bin/host

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

2006-07-07 Thread Junichi Uekawa
Hi, > > Hello, > > if the env does not define HOSTNAME, then pbuilder will not work. > > And I don't know why my system does not define HOSTNAME when boot up. > > anyway, I got a workaround about this. Cannot reproduce. [19:47:03]dancer64:dancer64> unset HOSTNAME [19:47:07]dancer64:dancer64>

Bug#377138: pbuilder can't work if env does not contain HOSTNAME

2006-07-07 Thread LI Daobing
moreinfo: the old initscripts package(2.86.ds1-1) contains a very simple /etc/init.d/hostname.sh[in attachment hostname.sh.old], I think this is the real reason. How about conflicts with the old version or document this bug in README.Debian. Thanks. -- LI Daobing hostname.sh.old Description:

Bug#377138: pbuilder can't work if env does not contain HOSTNAME

2006-07-07 Thread LI Daobing
Package: pbuilder Version: 0.155 Followup-For: Bug #377138 Hello, if the env does not define HOSTNAME, then pbuilder will not work. And I don't know why my system does not define HOSTNAME when boot up. anyway, I got a workaround about this. -- System Information: Debian Release: 3.1 APT pref