Bug#637627: pbuilder may fail when calling 'hostname -f'

Tobias Hansen tobias.han at gmx.de
Sat Aug 13 08:42:08 UTC 2011


Package: pbuilder
Version: 0.201
Severity: normal

I can't build a build environment, because pbuilder calls 'hostname -f', which fails here:

[...]
I: Building the build Environment
I: extracting base tarball [/var/cache/pbuilder/base.tgz]
I: creating local configuration
hostname: Name or service not known

man hostname says that 'hostname -f' should be avoided and replaced with 'hostname --all-fqdns', which works fine for me.
This is a laptop running network-manager.

-- System Information:
Debian Release: wheezy/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 3.0.0-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=de_DE.utf8, LC_CTYPE=de_DE.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages pbuilder depends on:
ii  coreutils                     8.5-1      GNU core utilities
ii  debconf [debconf-2.0]         1.5.40     Debian configuration management sy
ii  debianutils                   4.0.2      Miscellaneous utilities specific t
ii  debootstrap                   1.0.34     Bootstrap a basic Debian system
ii  wget                          1.12-5     retrieves files from the web

Versions of packages pbuilder recommends:
ii  devscripts                    2.11.0     scripts to make the life of a Debi
ii  fakeroot                      1.16-1     tool for simulating superuser priv
ii  sudo                          1.7.4p6-1  Provide limited super user privile

Versions of packages pbuilder suggests:
ii  cowdancer                     0.64       Copy-on-write directory tree utili
pn  gdebi-core                    <none>     (no description available)
pn  pbuilder-uml                  <none>     (no description available)

-- debconf information:
  pbuilder/rewrite: false
  pbuilder/mirrorsite: http://ftp.de.debian.org/debian/
  pbuilder/nomirror:





More information about the Pbuilder-maint mailing list