tags 622735 + fixed-upstream pending thanks On Thu, Apr 14, 2011 at 11:58:11AM +0200, Raphaƫl Hertzog wrote: > 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.
Yes, this was due to the Chroot class calling ChrootSetup::basesetup() when the session is created to do the apt update/upgrade. basesetup() depended upon the sbuild user and group existing in the chroot to chown various bits. I've updated sbuild-createchroot to explicitly copy the sbuild user and group into the chroot so that this can't fail. Regards, Roger -- .''`. Roger Leigh : :' : Debian GNU/Linux http://people.debian.org/~rleigh/ `. `' Printing on GNU/Linux? http://gutenprint.sourceforge.net/ `- GPG Public Key: 0x25BFB848 Please GPG sign your mail.
signature.asc
Description: Digital signature