On 29-Sep-2018, Ben Finney wrote:
> Package: sbuild
> $ getent passwd sbuild
> sbuild:x:126:136:Debian source builder,,,:/var/lib/sbuild:/bin/bash
> $ getent group sbuild
> sbuild:x:136:bignose

Prompted by a suggestion to try running those commands *in* the
chroot, I get this failure instead:

=====
$ sbuild-shell unstable
E: Access not authorised
I: You do not have permission to access the schroot service.
I: This failure will be reported.
Chroot setup failed
Error setting up unstable chroot
Chroot setup failed at /usr/bin/sbuild-shell line 42.

$ sudo sbuild-shell unstable
chown: invalid user: 'sbuild:sbuild'
E: Failed to set sbuild:sbuild ownership on /build
Failed to set up chroot
Error setting up unstable chroot
Chroot setup failed at /usr/bin/sbuild-shell line 42.
=====

What should I be doing to correct this chroot?

How could the SBuild chroot be created so that it fails like this?
What should I be doing when creating future chroots, to avoid this
failure?

-- 
 \          “If I ever get real rich, I hope I'm not real mean to poor |
  `\                              people, like I am now.” —Jack Handey |
_o__)                                                                  |
Ben Finney <bign...@debian.org>

Attachment: signature.asc
Description: PGP signature

Reply via email to