[buildd-tools-devel] Bug#783701: sbuild: sbuild-createchroot copies /etc/passwd from host?

Edmund Grimley Evans edmund.grimley.evans at gmail.com
Wed Apr 29 10:25:49 UTC 2015


Package: sbuild
Version: 0.65.2-1

A chroot created with sbuild-createchroot seems to inherit /etc/passwd
and /etc/group from the host. In a couple of cases this resulted in
packages failing to build in the chroot:

https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=783695
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=783698

I think it would be better if the chroot got a fresh, minimal
/etc/passwd and /etc/group.

I can't find the code that copies /etc/passwd, so perhaps there's
already an option to modify that behaviour that I am unaware of.

Thanks.



More information about the Buildd-tools-devel mailing list