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/

Attachment: signature.asc
Description: Digital signature

Reply via email to