[buildd-tools-devel] Bug#622735: sbuild-createchroot fails to chown /build due to non-existing user & group

Raphaël Hertzog hertzog at debian.org
Thu Apr 14 09:58:11 UTC 2011


Package: sbuild
Version: 0.62.2-1
Severity: normal

I was only running:
$ sbuild-createchroot wheezy wheezy-i386-sbuild http://ftp.debian.org/debian
[...]
I: Please rename and modify this file as required.
I: sudo chroot configuration linked as
/etc/sbuild/chroot/wheezy-i386-sbuild.
chown: invalid user: `sbuild:sbuild'
E: Failed to set sbuild:sbuild ownership on /build
Failed to set up chroot
E: Error creating chroot session: skipping apt update
I: Successfully set up wheezy chroot.
I: Run "sbuild-adduser" to add new sbuild users.

It looks like the chown is tried while the NSS files have not yet been
copied over.

Cheers,

-- System Information:
Debian Release: wheezy/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable'), (150, 'experimental')
Architecture: i386 (x86_64)

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

Versions of packages sbuild depends on:
ii  adduser                       3.112+nmu2 add and remove users and groups
ii  libc6                         2.11.2-11  Embedded GNU C Library: Shared lib
ii  libgcc1                       1:4.6.0-2  GCC support library
ii  libsbuild-perl                0.62.2-1   Tool for building Debian binary pa
ii  libstdc++6                    4.6.0-2    The GNU Standard C++ Library v3
ii  perl                          5.10.1-19  Larry Wall's Practical Extraction 
ii  perl-modules                  5.10.1-19  Core Perl modules

Versions of packages sbuild recommends:
ii  debootstrap                   1.0.29     Bootstrap a basic Debian system
ii  fakeroot                      1.15.1-1   tool for simulating superuser priv

Versions of packages sbuild suggests:
ii  deborphan                     1.7.28.5   program that can find unused packa
ii  wget                          1.12-3     retrieves files from the web

-- no debconf information





More information about the Buildd-tools-devel mailing list