Bug#377138: [Pbuilder-maint] Bug#377138: pbuilder can't work if env
does not contain HOSTNAME
Junichi Uekawa
dancer at netfort.gr.jp
Sat Jul 8 07:49:09 UTC 2006
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
> exit_group(0) = ?
This is succeeding, with an output of 'localhost'.
I want something that fails.
Can you do within a script session:
$ unset HOSTNAME
$ env
$ strace hostname -f
$ ltrace hostname -f
regards,
junichi
--
dancer@{debian.org,netfort.gr.jp} Debian Project
More information about the Pbuilder-maint
mailing list