The groupadd -f input in wheezy-stage3 creates a non-system group with gid 1001 and no corresponding uid. That makes all subsequent non-system users have a uid and gid that differ by one, instead of being equal. Suggest adding -r. This appears to result in the highest available gid less than 1000 (ie. 999), so it should not clash with static or dynamic package gids.
The
groupadd -f input
in wheezy-stage3 creates a non-system group with gid 1001 and no corresponding uid. That makes all subsequent non-system users have a uid and gid that differ by one, instead of being equal. Suggest adding-r
. This appears to result in the highest available gid less than 1000 (ie. 999), so it should not clash with static or dynamic package gids.