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

Roger Leigh rleigh at codelibre.net
Fri Apr 22 22:33:35 UTC 2011


On Fri, Apr 22, 2011 at 10:19:56PM +0200, Marc Dequènes (Duck) wrote:
> Please do something quickly! Several other DDs need this fixed to work.

What's actually breaking here?

After completing the chroot creation, it's attempting to run
'apt-get update' and 'apt-get dist-upgrade' inside the chroot.
While this fails, the chroot was created successfully, and you
should be able to just run 'sbuild-update -ud wheezy' to update
the chroot.

This is not to say that there's not a bug here, just that it's
not, at least from what I saw reported, a major problem that
doesn't have a simple workaround.  I'll certainly look into why
this is failing; I think the explanation is fairly straightforward:
the NSS file copying is done by schroot, but at this point schroot
is not yet set up (or even required), so we use sudo instead, and
this doesn't involve any file copying.  We should probably skip
the chown of /build if the sbuild user/group doesn't yet exist.


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.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/buildd-tools-devel/attachments/20110422/62823edf/attachment.pgp>


More information about the Buildd-tools-devel mailing list