[buildd-tools-devel] Bug#565613: overwrites customized /etc/passwd and /etc/group

Sascha Silbe sascha-debian-bugs-exim4-1 at silbe.org
Sat Jan 23 12:26:32 UTC 2010


On Tue, Jan 19, 2010 at 12:34:38AM +0100, Sascha Silbe wrote:

>> We could add logic to compare the two and merge the differences
>> rather than using the existing approach of replacing the whole lot.
> That would be the golden way of course.
Thinking twice about it the proper way to do it would be to use 
libnss-extrausers inside the chroot and let schroot copy 
/etc/{passwd,...} from the host to /var/lib/extrausers/ within the 
chroot.
This currently fails in my case since my users have "users" (GID 100) as 
their primary group, but that's a different bug. [1]


[1] http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=566399

CU Sascha

-- 
http://sascha.silbe.org/
http://www.infra-silbe.de/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 489 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/buildd-tools-devel/attachments/20100123/c2ae09fd/attachment-0003.pgp>


More information about the Buildd-tools-devel mailing list