*** Please type your report below this line ***
I used "xen-create-image --accounts" to copy the user database from dom0
to the new domU. The resulting domU has incorrect entries in /etc/group.
(following output massaged with sed to conceal names.)
dom0# egrep 'a1|a2|s1' /etc/{passwd,group}
/etc/passwd:a1:x:1000:1000:a1,,,:/home/a1:/bin/zsh
/etc/passwd:s1:x:1001:1001:s1,,,:/home/s1:/bin/bash
/etc/passwd:a2:x:1002:1002:a2,,,:/home/a2:/bin/bash
...
/etc/group:a1:x:1000:
/etc/group:s1:x:1001:
/etc/group:a2:x:1002:
dom0# xen-create-image --accounts \
--admin=.. --output=... --dir=... --size=50G --swap=4G \
--dist=sid --hostname=... --ip=...
domU% egrep 'a1|a2|s1' /etc/{passwd,group}
/etc/passwd:a1:x:1000:1000:a1,,,:/home/a1:/bin/zsh
/etc/passwd:a2:x:1002:1002:a2,,:/home/a2:/bin/bash
/etc/passwd:s1:x:1001:1001:s1,,:/home/s1:/bin/bash
...
/etc/group:a1:x:1000:a1
/etc/group:a2:x:1001:a2
/etc/group:s1:x:1004:s1
domU% egrep :100 /etc/group
users:x:100:
a1:x:1000:a1
a2:x:1001:a2
ntpd:x:1002:ntpd
postfix:x:1003:postfix
s1:x:1004:s1
Note that a2 is in group 1002 according to /etc/passwd, but
that group is ntpd according to /etc/group.
(Also, a cosmetic nit: the added entries in /etc/passwd are
sorted alphabetically rather than by numeric uid.)