[buildd-tools-devel] Bug#798835: Bug#797783: sbuild fails without any error message when /var/lib/sbuild is not writable in the chroot

Johannes Schauer josch at debian.org
Fri Dec 25 11:55:17 UTC 2015


Control: tag -1 + unreproducible moreinfo

Hi,

On Sun, 06 Sep 2015 09:00:03 +0200 Johannes Schauer <josch at debian.org> wrote:
> Quoting Raphael Hertzog (2015-09-03 18:07:37)
> > On Thu, 03 Sep 2015, Johannes Schauer wrote:
> > > So I guess more configuration is required for this?
> > 
> > In a jessie environment (in particular the kernel), you can use "aufs"
> > instead of "overlay". In stretch/sid (with a newer kernel), you need
> > "overlay" but it also requires a version of schroot which is only in
> > unstable right now...
> 
> aha! I'm running a mix of testing/unstable and your tip of using the sid
> version of schroot did the trick.
> 
> I'm now able to verify your bug when I use union-type=overlay in my schroot
> config.
> 
> The attached patch should now print an appropriate error message, in case you
> want to verify that it works.
> 
> I plan to clone this bug and have a separate bug to also do a chown call.

I just did the following steps:

$ sudo sbuild-createchroot unstable /srv/chroot/unstable-amd64 http://httpredir.debian.org/debian

then added "union-type=overlay" to /etc/schroot/chroot.d/squeeze-amd64-sbuild-XXXX

And then tried to build a package. This went through without any errors.

So are you sure that there is still a chown call missing?

Thanks!

cheers, josch
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: signature
URL: <http://lists.alioth.debian.org/pipermail/buildd-tools-devel/attachments/20151225/3bb51d32/attachment-0001.sig>


More information about the Buildd-tools-devel mailing list