This is an issue when creating Debian schroot on a Ubuntu host.

It's specifically mentioned here, with a workaround:
https://wiki.ubuntu.com/SecurityTeam/BuildEnvironment#Creating_the_schroots
```
Note 2: Debian schroots pull in exim4-base but Ubuntu systems do not. Due
to Debian bug #565613 the passwd and group databases are pulled in from the
host, overwriting what is in the chroot. Since Ubuntu by default does not
have exim4-base installed, the user isn't there and you will end up with
errors like this when updating the schroot at a later date: dpkg: syntax
error: unknown group Debian-exim' in statusoverride file`. You can either
create the user/group on the Ubuntu host or remove the exim4-base package
from the schroot (this may not work with older Debian releases):

$ schroot -u root -c source:sid-amd64 -- apt-get remove --purge -y
--force-yes exim4-base
$ schroot -u root -c source:sid-amd64 -- cp /var/lib/dpkg/statoverride-old
/var/lib/dpkg/statoverride # remove
```

It would be great if the work around could be avoided.
Is there any traction on getting schroot to do some sort of merging of
passwd/group instead of just replacing just copying the hosts into the
chroot?

Reply via email to