[buildd-tools-devel] Bug#866006: sbuild-createchroot should abort if schroot --list --all-source-chroots fails

Johannes Schauer josch at debian.org
Mon Jun 26 14:21:14 UTC 2017


Source: sbuild
Severity: normal

sbuild-createchroot attempts to check the output of $(schroot --list
--all-source-chroots) to make sure that the to be created chroot doesn't
exist already. In addition to checking the output of the command, it
should also check the exit code of the command because the command might
fail with a non zero exit status. This happens for example when there
exists multiple chroots with the same name. In that case,
sbuild-createchroot should abort.



More information about the Buildd-tools-devel mailing list