[Pkg-shadow-devel] [Git][debian/adduser][wip/debian-bug-1125040] add test case for uid/gid pool with system accounts

Marc Haber (@zugschlus) gitlab at salsa.debian.org
Mon Jun 15 07:16:02 BST 2026



Marc Haber pushed to branch wip/debian-bug-1125040 at Debian / adduser


Commits:
4f492812 by Marc Haber at 2026-06-15T08:15:17+02:00
add test case for uid/gid pool with system accounts

Git-Dch: ignore

- - - - -


1 changed file:

- debian/tests/f/suidsgidpool.t


Changes:

=====================================
debian/tests/f/suidsgidpool.t
=====================================
@@ -28,8 +28,8 @@ my %confhash;
 $cl_tree->add(qw(/etc/adduser-uidpool.conf /etc/adduser-gidpool.conf));
 $cl_tree->add(qw(/etc/adduser-pool.d));
 
-my $auid=241;
-my $agid=234;
+my $auid=341;
+my $agid=334;
 my $ashell="/bin/dash";
 my $acomment="alternate comment";
 
@@ -199,8 +199,8 @@ foreach my $user( @suidlist ) {
 %confhash=();
 $confhash{"UID_POOL"}="$uidpoolfile";
 $confhash{"GID_POOL"}="$gidpoolfile";
-$confhash{"FIRST_UID"}="$firstuid";
-$confhash{"FIRST_GID"}="$firstgid";
+$confhash{"FIRST_SYSTEM_UID"}="$firstuid";
+$confhash{"FIRST_SYSTEM_GID"}="$firstgid";
 $confhash{"RESERVE_UID_POOL"}="no";
 $confhash{"RESERVE_GID_POOL"}="no";
 apply_config_hash(\%confhash);
@@ -232,8 +232,8 @@ foreach my $user( @suidreserved ) {
 %confhash=();
 $confhash{"UID_POOL"}="$uidpoolfile";
 $confhash{"GID_POOL"}="$gidpoolfile";
-$confhash{"FIRST_UID"}="$firstuid";
-$confhash{"FIRST_GID"}="$firstgid";
+$confhash{"FIRST_SYSTEM_UID"}="$firstuid";
+$confhash{"FIRST_SYSTEM_GID"}="$firstgid";
 $confhash{"RESERVE_UID_POOL"}="yes";
 $confhash{"RESERVE_GID_POOL"}="yes";
 apply_config_hash(\%confhash);
@@ -271,8 +271,8 @@ foreach my $user( @suidreserved ) {
 %confhash=();
 $confhash{"UID_POOL"}="$uidpoolfile";
 $confhash{"GID_POOL"}="$gidpoolfile";
-$confhash{"FIRST_UID"}="$firstuid";
-$confhash{"FIRST_GID"}="$firstgid";
+$confhash{"FIRST_SYSTEM_UID"}="$firstuid";
+$confhash{"FIRST_SYSTEM_GID"}="$firstgid";
 $confhash{"RESERVE_UID_POOL"}="no";
 $confhash{"RESERVE_GID_POOL"}="no";
 apply_config_hash(\%confhash);
@@ -304,8 +304,8 @@ foreach my $user( @suidreserved ) {
 %confhash=();
 $confhash{"UID_POOL"}="$uidpoolfile";
 $confhash{"GID_POOL"}="$gidpoolfile";
-$confhash{"FIRST_UID"}="$firstuid";
-$confhash{"FIRST_GID"}="$firstgid";
+$confhash{"FIRST_SYSTEM_UID"}="$firstuid";
+$confhash{"FIRST_SYSTEM_GID"}="$firstgid";
 $confhash{"RESERVE_UID_POOL"}="yes";
 $confhash{"RESERVE_GID_POOL"}="yes";
 apply_config_hash(\%confhash);



View it on GitLab: https://salsa.debian.org/debian/adduser/-/commit/4f492812ce45adeb44ec5a8408ae6a37b11b0c46

-- 
View it on GitLab: https://salsa.debian.org/debian/adduser/-/commit/4f492812ce45adeb44ec5a8408ae6a37b11b0c46
You're receiving this email because of your account on salsa.debian.org. Manage all notifications: https://salsa.debian.org/-/profile/notifications | Help: https://salsa.debian.org/help


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/pkg-shadow-devel/attachments/20260615/04d658f7/attachment-0001.htm>


More information about the Pkg-shadow-devel mailing list