#1146412 adduser tests utilize fixed gid causing collisions with systemd-sysuser auto-allocations

#1146412#5
Date:
2026-09-01 15:47:01 UTC
From:
To:
adduser in Ubuntu 26.10 is failing autopkgtests with the following

111s err: The group `s3afixedg01' already exists, but has a different GID.
Exiting.
111s
111s #   Failed test 'command success: /usr/sbin/addgroup
--stdoutmsglevel=error --stderrmsglevel=error --system --gid 980
s3afixedg01'
111s #   at debian/tests/lib/AdduserTestsCommon.pm line 243.
111s #          got: '13'
111s #     expected: '0'
111s
111s #   Failed test 'group exists: s3afixedg01'
111s #   at debian/tests/lib/AdduserTestsCommon.pm line 405.
111s #          got: undef
111s #     expected: anything else
111s
111s #   Failed test 'group has gid: group s3afixedg01 does not exist'
111s #   at debian/tests/lib/AdduserTestsCommon.pm line 675.
126s # Looks like you failed 3 tests of 950.

https://autopkgtest.ubuntu.com/results/autopkgtest-stonking/stonking/amd64/a/adduser/20260823_164607_a1a91@/log.gz

systemd-sysused auto allocates starting at 999 and going down. In a
Forky/testing container, it enumerates down to 987

polkitd:987
render:988
kvm:989
clock:990
sgx:991
input:992
_ssh:993
tss:994
systemd-resolve:995
messagebus:996
systemd-network:997
systemd-journal:998
lpadmin:999

the tests in debian/tests/f/firstlastuidgid.t : test group S3A: uid range
requested by config, no command line : hardcodes values

$prefix='s3a';
$firstuid1=260;
$firstgid1=270;
$fuid = 970;
$fgid = 980;

in autopkgtest in Ubuntu, we apparently have users down to 980 causing
failures. This can be addressed in the test by checking for open ids

#1146412#10
Date:
2026-09-01 16:31:25 UTC
From:
To:
So I am moving to accomodate the package that tries to kill mine, in
which I have wast^winvested months of my life.

Try https://salsa.debian.org/debian/adduser/-/commits/zg/debian-bug-1146412