[buildd-tools-devel] Bug#751732: sbuild-createchroot: No overlay configured by default

Martin Pitt mpitt at debian.org
Mon Jun 16 04:40:04 UTC 2014


Package: sbuild
Version: 0.64.1-1

Hello,

When calling sbuild-createchroot like shown in the manpage example:

  sudo sbuild-createchroot jessie /tmp/jessie http://ftp.de.debian.org/debian/

then the generated schroot configuration looks like this:

| [jessie-amd64-sbuild]
| type=directory
| description=Debian jessie/amd64 autobuilder
| directory=/tmp/jessie
| groups=root,sbuild
| root-groups=root,sbuild
| profile=sbuild

I. e. this uses type=directory without *any* overlay, i. e. anything
which you do in the schroot, like building packages, experimenting
with stuff, or running autopkgtests (that's what Neil stumbled over in
#751574) changes the pristine chroot. Also, the man page only vaguely
talks about "This should be edited to finish the chroot
configuration", but does not point out this problem.

I'd say this is a fairly unexpected and even misleading default
configuration. IMHO it should set up a proper union-type, or if that's
somehow not appropriate (e. g. if not all Debian kernel support aufs),
rather default to type=tarball.

Thanks for considering,

Martin

-- 
Martin Pitt                        | http://www.piware.de
Ubuntu Developer (www.ubuntu.com)  | Debian Developer  (www.debian.org)



More information about the Buildd-tools-devel mailing list