🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: linux.debian.bugs.rc
8 messages
8 total messages Started by Kentaro HAYASHI Sat, 28 Nov 2026 08:00
Bug#1155626: adduser: 3.160 marks the whole system ID range as used after --ingroup takes GID 999 as UID
#4394
Author: Kentaro HAYASHI
Date: Sat, 28 Nov 2026 08:00
88 lines
4799 bytes
Package: adduser
Version: 3.160
Severity: serious
Justification: makes unrelated packages unable to install (regression
from 3.159)

Dear Maintainer,

   * What led up to the situation?

Since adduser 3.160 (uploaded 2026-11-27), installing a GNOME desktop
on the daily Debian sid nocloud image fails:

  apt-get install -y gdm3 task-japanese-gnome-desktop gnome-terminal yad

  Setting up sane-utils (1.4.0-1.1) ...
  Adding saned group and user...
  warn: All ids up to 999 have already been assigned and REUSE_IDS is
  set to no. warn: No UID/GID pair is available in the range 1000-999
  (FIRST_SYS_UID - LAST_SYS_UID). fatal: The user `saned' was not
  created. usermod: user 'saned' does not exist
  dpkg: error processing package sane-utils (--configure):
   installed sane-utils package postinst maintainer script subprocess
  failed with exit status 6 ...
  Errors were encountered while processing:
   avahi-daemon
   ipp-usb
   libapache2-mod-dnssd
   usbmuxd
   gnome-user-share
   sane-utils

The system ID range 100-999 still has many free IDs, but adduser says
that it is full. After cups-pk-helper is configured, every later
`adduser --system` and `addgroup --system` call fails, so packages
that have nothing to do with cups-pk-helper cannot be installed:

- avahi-daemon and usbmuxd fail in their postinst, because adduser
  exits with status 22.
- ipp-usb, libapache2-mod-dnssd and gnome-user-share then fail with
  "dependency problems - leaving unconfigured", because they depend
  on avahi-daemon.
- sane-utils ignores the adduser error with `|| true`, but the next
  `usermod -d /var/lib/saned saned` fails, because the user does not
  exist.

The cause:

- systemd-sysusers creates lpadmin with GID 999 (LAST_SYSTEM_GID),
  because it gives out IDs from 999 down.
- cups-pk-helper's postinst runs
  `adduser --system ... --ingroup lpadmin cups-pk-helper`.
  adduser 3.160 uses the GID 999 as the UID, and also writes
  `@global:last_sys_id=999` to /var/lib/adduser/state.
- With REUSE_IDS=no (the default), the next ID to look for is 1000,
  which is above LAST_SYSTEM_UID/GID. So every later system user or
  group fails.

Without systemd, lpadmin gets GID 101 and this does not happen.

   * What exactly did you do (or not do) that was effective (or
     ineffective)?

On a fresh sid chroot with adduser 3.160:

  groupadd -g 999 lpadmin
  adduser --system --ingroup lpadmin cpk
  adduser --system test

   * What was the outcome of this action?

  warn: All ids up to 999 have already been assigned and REUSE_IDS is
  set to no. warn: No UID is available in the range 1000-999
  (FIRST_SYS_UID - LAST_SYS_UID). fatal: The user `test' was not
  created.

With adduser 3.159, the same steps create test with UID 100.
REUSE_IDS=yes in /etc/adduser.conf works as a workaround.

   * What outcome did you expect instead?

I expected the same result as 3.159: cups-pk-helper gets UID 999,
and later `adduser --system` calls still get free IDs from the
system range, so avahi-daemon, usbmuxd, sane-utils
and the packages that depend on them install without errors.


Best regards,
Processed: Re: Bug#1155626: adduser: 3.160 marks the whole system ID range as used after --ingroup takes GID 999 as UID
#4435
Author: Debian Bug Tracking System
Date: Sat, 28 Nov 2026 22:10
11 lines
1927 bytes
Processing control commands:

> tags -1 confirmed
Bug #1155626 [adduser] adduser: 3.160 marks the whole system ID range as used after --ingroup takes GID 999 as UID
Added tag(s) confirmed.

-- 
1155626: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1155626
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
Bug#1155626: adduser: 3.160 marks the whole system ID range as used after --ingroup takes GID 999 as UID
#4436
Author: Marc Haber
Date: Sat, 28 Nov 2026 22:10
41 lines
3391 bytes
Control: tags -1 confirmed

On Sat, Nov 28, 2026 at 04:49:32PM +0900, Kentaro HAYASHI wrote:
>Since adduser 3.160 (uploaded 2026-11-27), installing a GNOME desktop
>on the daily Debian sid nocloud image fails:
>
>  apt-get install -y gdm3 task-japanese-gnome-desktop gnome-terminal yad
>
>  Setting up sane-utils (1.4.0-1.1) ...
>  Adding saned group and user...
>  warn: All ids up to 999 have already been assigned and REUSE_IDS is
>  set to no. warn: No UID/GID pair is available in the range 1000-999
>  (FIRST_SYS_UID - LAST_SYS_UID). fatal: The user `saned' was not
>  created. usermod: user 'saned' does not exist
>  dpkg: error processing package sane-utils (--configure):
>   installed sane-utils package postinst maintainer script subprocess
>  failed with exit status 6 ...
>  Errors were encountered while processing:
>   avahi-daemon
>   ipp-usb
>   libapache2-mod-dnssd
>   usbmuxd
>   gnome-user-share
>   sane-utils
>
>The system ID range 100-999 still has many free IDs, but adduser says
>that it is full. After cups-pk-helper is configured, every later
>`adduser --system` and `addgroup --system` call fails, so packages
>that have nothing to do with cups-pk-helper cannot be installed:

Does cups-pk-helper use adduser or systemd-sysusers? Does it work again 
when you set REUSE_IDS=yes in adduser.conf?

Greetings
Marc

-- 
-----------------------------------------------------------------------------
Marc Haber         | "I don't trust Computers. They | Mailadresse im Header
Leimen, Germany    |  lose things."    Winona Ryder | Fon: *49 6224 1600402
Nordisch by Nature |  How to make an American Quilt | Fax: *49 6224 1600421
Bug#1155626: adduser: 3.160 marks the whole system ID range as used after --ingroup takes GID 999 as UID
#4606
Author: Kentaro HAYASHI
Date: Mon, 30 Nov 2026 11:50
18 lines
2329 bytes
Hi


> >The system ID range 100-999 still has many free IDs, but adduser
H> >says
> >that it is full. After cups-pk-helper is configured, every later
> >`adduser --system` and `addgroup --system` call fails, so packages
> >that have nothing to do with cups-pk-helper cannot be installed:
> 
> Does cups-pk-helper use adduser or systemd-sysusers? Does it work
> again when you set REUSE_IDS=yes in adduser.conf?


Yes, cups-pk-helper uses adduser --system in .postsinst.

And it seems that it work with REUSE_IDS=yes (as a workaround).

Best regards,
Processed: Bug#1155626 marked as pending in adduser
#4758
Author: Debian Bug Tracking System
Date: Tue, 01 Dec 2026 20:00
14 lines
2010 bytes
Processing control commands:

> tag -1 pending
Bug #1155626 [adduser] adduser: 3.160 marks the whole system ID range as used after --ingroup takes GID 999 as UID
Bug #1155725 [adduser] ingroup issue
Added tag(s) pending.
Added tag(s) pending.

-- 
1155626: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1155626
1155725: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1155725
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
Bug#1155626: marked as pending in adduser
#4761
Author: Marc Haber
Date: Tue, 01 Dec 2026 20:00
32 lines
2795 bytes
Control: tag -1 pending

Hello,

Bug #1155626 in adduser reported by you has been fixed in the
Git repository and is awaiting an upload. You can see the commit
message below and you can check the diff of the fix at:

https://salsa.debian.org/debian/adduser/-/commit/1839b8cc768851a12eedf0e89d78f6f0f115279b

------------------------------------------------------------------------
fix: do not use the reuse_id counter for --ingroup

Closes: #1155725, #1155626
Thanks: Jeroen Diederen, Kentaro HAYASHI

In 3.160, the new reuse_id behavior led to situations where the system
user id range was immediately exhausted. Other software assigns GIDs
starting from the top towards the bottom, and when a new user is created
with --ingroup with a high gid, we advanced the uid counter to that
place, and after creating more system users, the 999 was reached,
claiming the uid range is exhausted.

This code change no longer advances the counter when a UID is assigned
via --ingroup
------------------------------------------------------------------------

(this message was generated automatically)
-- 
Greetings

https://bugs.debian.org/1155626
Bug#1155626: marked as done (adduser: 3.160 marks the whole system ID range as used after --ingroup takes GID 999 as UID)
#4772
Author: Debian Bug Tracking System
Date: Tue, 01 Dec 2026 21:00
361 lines
16658 bytes
This is a multi-part message in MIME format...

------------=_1796158622-1226385-0
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain; charset="utf-8"

Your message dated Tue, 01 Dec 2026 20:54:20 +0000
with message-id <179615846002.3430727.14004441083701064012@fasolo.debian.or=
g>
and subject line Bug#1155626: fixed in adduser 3.161
has caused the Debian Bug report #1155626,
regarding adduser: 3.160 marks the whole system ID range as used after --in=
group takes GID 999 as UID
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


--=20
1155626: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=3D1155626
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems

------------=_1796158622-1226385-0
Content-Type: message/rfc822
Content-Disposition: inline
Content-Transfer-Encoding: 7bit

Received: (at submit) by bugs.debian.org; 28 Nov 2026 07:49:38 +0000
X-Spam-Checker-Version: SpamAssassin 4.0.1-bugs.debian.org_2005_01_02
	(2024-03-25) on buxtehude.debian.org
X-Spam-Level: 
X-Spam-Status: No, score=-15.2 required=4.0 tests=BAYES_00,
	BODY_INCLUDES_PACKAGE,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,
	DKIM_VALID_EF,HAS_PACKAGE,SPF_HELO_NONE,SPF_PASS autolearn=ham
	autolearn_force=no version=4.0.1-bugs.debian.org_2005_01_02
X-Spam-Bayes: score:0.0000 Tokens: new, 18; hammy, 150; neutral, 148; spammy,
	0. spammytokens: hammytokens:0.000-+--H*UA:sk:x86_64-,
	0.000-+--H*x:sk:x86_64-, 0.000-+--gdm3, 0.000-+--gnometerminal,
	0.000-+--gnome-terminal
Return-path: <kenhys@xdump.org>
Received: from www2150.sakura.ne.jp ([182.48.49.60]:62100)
	by buxtehude.debian.org with esmtps (TLS1.2:ECDHE_SECP521R1__RSA_SHA512__AES_256_GCM:256)
	(Exim 4.96)
	(envelope-from <kenhys@xdump.org>)
	id 1xXDBi-008TxN-3B
	for submit@bugs.debian.org;
	Sat, 28 Nov 2026 07:49:38 +0000
Received: from www2150.sakura.ne.jp (localhost [127.0.0.1])
	by www2150.sakura.ne.jp (8.16.1/8.16.1) with ESMTP id 6AS7nX0F001414
	for <submit@bugs.debian.org>; Sat, 28 Nov 2026 16:49:33 +0900 (JST)
	(envelope-from kenhys@xdump.org)
Received: from jet ([IPv6:2400:4052:1644:1400:5fa8:f9b8:d157:3da2])
	(authenticated bits=0)
	by www2150.sakura.ne.jp (8.16.1/8.16.1) with ESMTPSA id 6AS7nWfa001411
	(version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO)
	for <submit@bugs.debian.org>; Sat, 28 Nov 2026 16:49:32 +0900 (JST)
	(envelope-from kenhys@xdump.org)
DKIM-Signature: a=rsa-sha256; bh=5JbwwcvsiLigh8CxF5YmnKLnBWU82UnaKINnABWKLoI=;
        c=relaxed/relaxed; d=xdump.org;
        h=From:Message-ID:To:Subject:Date;
        s=rs20240131; t=1795852173; v=1;
        b=YjYrE6iBLyweSHd87Ln5LwQriyQqZ/8FSCaaLh/l0Sw4rvEuTbcnq50dFNh9DGZu
         lsMsAP3pmyNy0+LHTCAnpX8zsYwY6wRSkw8mfu2M1jHMOECdDsDdPVVJpgKvP/ze
         C9nRH0jcHjs4rZcBP78uBnJ4qcfdL7PzQuTooX7LYIxI+eG+8Po6T63tbaFYaxA8
         XDI8QmiwTFJSZTxaoUm2mPxIeuF+MhLAhfjPm95QzanjXPbA5Me6AfCJP/Knq4wx
         Yn4PedbZ8tRM8STV2T/jx9LviD3gnuRzBDD0dkr3wRwSCCWgPoAjPBhtM6q1Ib6y
         wXBXLufNxcWdAFDDm3pA7w==
Date: Sat, 28 Nov 2026 16:49:32 +0900
From: Kentaro HAYASHI <kenhys@xdump.org>
To: submit@bugs.debian.org
Subject: adduser: 3.160 marks the whole system ID range as used after
 --ingroup takes GID 999 as UID
Message-ID: <20261128164932.143ac042@jet>
Organization: XDUMP.ORG
X-Mailer: Claws Mail 4.4.0 (GTK 3.24.52; x86_64-pc-linux-gnu)
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
X-Virus-Status: clean
X-Anti-Virus-Server: fsav112.rs.sakura.ne.jp
Delivered-To: submit@bugs.debian.org

Package: adduser
Version: 3.160
Severity: serious
Justification: makes unrelated packages unable to install (regression
from 3.159)

Dear Maintainer,

   * What led up to the situation?

Since adduser 3.160 (uploaded 2026-11-27), installing a GNOME desktop
on the daily Debian sid nocloud image fails:

  apt-get install -y gdm3 task-japanese-gnome-desktop gnome-terminal yad

  Setting up sane-utils (1.4.0-1.1) ...
  Adding saned group and user...
  warn: All ids up to 999 have already been assigned and REUSE_IDS is
  set to no. warn: No UID/GID pair is available in the range 1000-999
  (FIRST_SYS_UID - LAST_SYS_UID). fatal: The user `saned' was not
  created. usermod: user 'saned' does not exist
  dpkg: error processing package sane-utils (--configure):
   installed sane-utils package postinst maintainer script subprocess
  failed with exit status 6 ...
  Errors were encountered while processing:
   avahi-daemon
   ipp-usb
   libapache2-mod-dnssd
   usbmuxd
   gnome-user-share
   sane-utils

The system ID range 100-999 still has many free IDs, but adduser says
that it is full. After cups-pk-helper is configured, every later
`adduser --system` and `addgroup --system` call fails, so packages
that have nothing to do with cups-pk-helper cannot be installed:

- avahi-daemon and usbmuxd fail in their postinst, because adduser
  exits with status 22.
- ipp-usb, libapache2-mod-dnssd and gnome-user-share then fail with
  "dependency problems - leaving unconfigured", because they depend
  on avahi-daemon.
- sane-utils ignores the adduser error with `|| true`, but the next
  `usermod -d /var/lib/saned saned` fails, because the user does not
  exist.

The cause:

- systemd-sysusers creates lpadmin with GID 999 (LAST_SYSTEM_GID),
  because it gives out IDs from 999 down.
- cups-pk-helper's postinst runs
  `adduser --system ... --ingroup lpadmin cups-pk-helper`.
  adduser 3.160 uses the GID 999 as the UID, and also writes
  `@global:last_sys_id=999` to /var/lib/adduser/state.
- With REUSE_IDS=no (the default), the next ID to look for is 1000,
  which is above LAST_SYSTEM_UID/GID. So every later system user or
  group fails.

Without systemd, lpadmin gets GID 101 and this does not happen.

   * What exactly did you do (or not do) that was effective (or
     ineffective)?

On a fresh sid chroot with adduser 3.160:

  groupadd -g 999 lpadmin
  adduser --system --ingroup lpadmin cpk
  adduser --system test

   * What was the outcome of this action?

  warn: All ids up to 999 have already been assigned and REUSE_IDS is
  set to no. warn: No UID is available in the range 1000-999
  (FIRST_SYS_UID - LAST_SYS_UID). fatal: The user `test' was not
  created.

With adduser 3.159, the same steps create test with UID 100.
REUSE_IDS=yes in /etc/adduser.conf works as a workaround.

   * What outcome did you expect instead?

I expected the same result as 3.159: cups-pk-helper gets UID 999,
and later `adduser --system` calls still get free IDs from the
system range, so avahi-daemon, usbmuxd, sane-utils
and the packages that depend on them install without errors.


Best regards,

------------=_1796158622-1226385-0
Content-Type: message/rfc822
Content-Disposition: inline
Content-Transfer-Encoding: 7bit

Received: (at 1155626-close) by bugs.debian.org; 1 Dec 2026 20:54:22 +0000
X-Spam-Checker-Version: SpamAssassin 4.0.1-bugs.debian.org_2005_01_02
	(2024-03-25) on buxtehude.debian.org
X-Spam-Level: 
X-Spam-Status: No, score=-114.2 required=4.0 tests=ALL_TRUSTED,BAYES_00,
	DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FVGT_m_MULTI_ODD,
	HAS_BUG_NUMBER,MD5_SHA1_SUM,PGPSIGNATURE,SPF_HELO_PASS,SPF_PASS,
	USER_IN_DKIM_WELCOMELIST autolearn=ham autolearn_force=no
	version=4.0.1-bugs.debian.org_2005_01_02
X-Spam-Bayes: score:0.0000 Tokens: new, 98; hammy, 150; neutral, 168; spammy,
	0. spammytokens: hammytokens:0.000-+--HX-Debian:DAK,
	0.000-+--H*rp:D*ftp-master.debian.org, 0.000-+--HX-DAK:process-upload,
	0.000-+--H*r:sk:fasolo., 0.000-+--H*MI:fasolo
Return-path: <envelope@ftp-master.debian.org>
Received: from mailly.debian.org ([2001:41b8:202:deb:6564:a62:52c3:4b72]:45636)
	by buxtehude.debian.org with esmtps (TLS1.3:ECDHE_SECP256R1__RSA_PSS_RSAE_SHA256__AES_256_GCM:256)
	(Exim 4.96)
	(envelope-from <envelope@ftp-master.debian.org>)
	id 1xYUrm-0058Iw-0h
	for 1155626-close@bugs.debian.org;
	Tue, 01 Dec 2026 20:54:22 +0000
Received: via submission
	from C=NA,ST=NA,L=Ankh Morpork,O=Debian SMTP,OU=Debian SMTP CA,CN=fasolo.debian.org,EMAIL=hostmaster@fasolo.debian.org (verified)
	by mailly.debian.org with esmtps (TLS1.3:ECDHE_SECP256R1__RSA_PSS_RSAE_SHA256__AES_256_GCM:256)
	(Exim 4.96)
	(envelope-from <envelope@ftp-master.debian.org>)
	id 1xYUrk-001Xgu-30
	for 1155626-close@bugs.debian.org;
	Tue, 01 Dec 2026 20:54:20 +0000
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed;
	d=ftp-master.debian.org; s=smtpauto.fasolo; h=Content-Type:Message-Id:Date:
	Subject:MIME-Version:To:Reply-To:From:Cc:Content-Transfer-Encoding:Content-ID
	:Content-Description:In-Reply-To:References;
	bh=/qiZ5K2fZwqOPPCt52AmUXGNJYFz6FGawknRZVilFQw=; b=qPwzGSjkFTncX8zjR2GTcSDB+e
	HGAHPhDQFdqNNw73OP48M6euV4bkOyffELhFyc2zhqIcqmFnT6EfTTrfWwkInANkInnvaXW31qed2
	foMj8ioDyzm4W9SzqZsOs4zR6BdKG/dNzQe3YylnsTNGZ5pgLNU/WVvHWgrBiDfZxbCljGZg/Q6d3
	hLcFVMkwu7eVQwTXkhzJgLaKKPE03qylyzxDZfwbdLzlGQvScVzV04W2e8maCNIPTCf/7yHTjyjk9
	F8AKLnGZwNheC9CsMqYM2SjEyjJBkGnkp9pIqVFqvQQoLzgpR5zconqlh7p+j45S/guI93nIZdkAW
	WqULj2ng==;
Received: from dak by fasolo.debian.org with local (Exim 4.98.2)
	(envelope-from <envelope@ftp-master.debian.org>)
	id 1xYUrk-0000000EP5R-0Egm;
	Tue, 01 Dec 2026 20:54:20 +0000
From: Debian FTP Masters <ftpmaster@ftp-master.debian.org>
Reply-To: Marc Haber <mh+debian-packages@zugschlus.de>
To: 1155626-close@bugs.debian.org
X-DAK: dak process-upload
X-Debian: DAK
X-Debian-Package: adduser
Debian: DAK
Debian-Changes: adduser_3.161_source.changes
Debian-Source: adduser
Debian-Version: 3.161
Debian-Architecture: source
Debian-Suite: unstable
Debian-Archive-Action: accept
MIME-Version: 1.0
Subject: Bug#1155626: fixed in adduser 3.161
Date: Tue, 01 Dec 2026 20:54:20 +0000
Message-Id: <179615846002.3430727.14004441083701064012@fasolo.debian.org>
Content-Type: multipart/signed; micalg="pgp-sha256";
 protocol="application/pgp-signature";
 boundary="===============5470712236640411925=="

--===============5470712236640411925==
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: quoted-printable

Source: adduser
Source-Version: 3.161
Done: Marc Haber <mh+debian-packages@zugschlus.de>

We believe that the bug you reported is fixed in the latest version of
adduser, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 1155626@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Marc Haber <mh+debian-packages@zugschlus.de> (supplier of updated adduser pac=
kage)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Tue, 01 Dec 2026 20:55:19 +0100
Source: adduser
Architecture: source
Version: 3.161
Distribution: unstable
Urgency: medium
Maintainer: Debian Adduser Developers <adduser@packages.debian.org>
Changed-By: Marc Haber <mh+debian-packages@zugschlus.de>
Closes: 1140472 1155626 1155673 1155725 1155920
Changes:
 adduser (3.161) unstable; urgency=3Dmedium
 .
   [ Juaesm ]
   * fix(postrm): remove /var/lib/adduser recursively on purge
     Thanks: Sven Geuer (Closes: #1155673)
 .
   [ Marc Haber ]
   * fix: do not use the reuse_id counter for --ingroup.
     Thanks to Jeroen Diederen, Kentaro HAYASHI (Closes: #1155725, #1155626)
   * add debian/postinst to fix the counter after #1155725
   * update Brasilian Portuguese man page translation.
     Thanks to Paulo Henrique de Lima Santana (Closes: #1155920)
   * fix typos and missing spaces.
     Thanks: Helge Kreutzmann (Closes: #1140472)
Checksums-Sha1:
 d4fa428ce468b3d125ad296818f3d5b874be737b 1975 adduser_3.161.dsc
 fcaa22e615482140594646df6e45d9a2c5b6a9be 389092 adduser_3.161.tar.xz
 5e64db42b969605985e85e5be14e944d2657e420 1175692 adduser_3.161.git.tar.xz
 a56d04deefbb6481ad52034c523829ba25b0114f 17798 adduser_3.161_source.buildinfo
Checksums-Sha256:
 8b6fdfd34c72e0f7fd79b91b811a372b53874ef6fde5411ab894929b34ea129b 1975 adduse=
r_3.161.dsc
 f0047b45306495b9a23bf1f412ce30a77685739dfafcaa628747bf94cba0c48c 389092 addu=
ser_3.161.tar.xz
 a93ad1bc257169e61de5aa3433bdf2c100f58f7a0d075a69c19c5e23174b9932 1175692 add=
user_3.161.git.tar.xz
 c1e73c9d922f3d99c4655d375a4efd6a92efd0b20cdf11554da26324769dac86 17798 addus=
er_3.161_source.buildinfo
Files:
 5eb0fd9ca4fc41c7abcb9c82dd337552 1975 admin important adduser_3.161.dsc
 6d8f0ae64b02979616defa18531ed804 389092 admin important adduser_3.161.tar.xz
 724ed2f97936222e855e524fbda4c9a7 1175692 admin important adduser_3.161.git.t=
ar.xz
 c998a6efeca4bdabd1f955ffbfafd184 17798 admin important adduser_3.161_source.=
buildinfo
Git-Tag-Info: tag=3Dbf4b08e3f7048676d301781e698dba5b6e6b64e5 fp=3D6852d763418=
0aae6088c83ead54d300c376391c9
Git-Tag-Tagger: Marc Haber <mh+debian-packages@zugschlus.de>

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEN02M5NuW6cvUwJcqYG0ITkaDwHkFAmsPLXwACgkQYG0ITkaD
wHkRpQ//SC6uzklEEDVhQdsQyRG2jNxKDeXlWYeMuhfHRxqPFu5/HrJBJD/QzbFy
7PWwgvfYUGenAXol3Nf3/dNghkNeVBq2uq7etk4b2TX8tPc4cOIC9wo915VGcdeH
ztcfhFSKwibePeLZVxXfyX0dknyLuI9ahMionW7ZtbQS3Oaw7GnF1PUQsoo7GlmY
ooBQysFsguspUO0i2/O8FE4c9b+a8wyXrb3yfZzcraekgFSiy5NNlrXXcQukv6N2
gNaaR9V3JyPyfAYMENXu8Cv3Dlprfg6yHVcm0Sm4zMEsjW81G1FboSSNU6inA/2b
S2ZrpiB+ZU/e5xxA9MEEy/Zndv1TgFB6ycl+cI2nf48fVJzJM4ev49yNbgOzX0nL
6WOdTjzCUUKVXDLGtrB0wAc9qanH7LV8tJ8O0ZTLjLtirlFYnrSmwWz/phP+mtrv
zpcOXFe+TQMwq1JMdeaPLNlQwO+HE3mzn/dkb6dSN1jw55zWGN323CK0qWNbNMIl
7+YWq7sUMeWOc0ZzGP2KUdRiUxEiOcIfoNJeGdtbRwvtPk7uS9VE9u95jf9bt9Fy
1edaR8N9/9fh1+1q714ttzpVj2XWwHowjzWzul+PuJ2X3w2LtJI+rnQQMQFFxAfY
yhDTXRbDI12CKolPf/F5NLKf4ME334ZU/5aDxGGAsxK4J0/m56c=3D
=3DUGgA
-----END PGP SIGNATURE-----


--===============5470712236640411925==
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----

iHUEABYIAB0WIQTziqJOuF8J+ZI8pJSb9qggYcy5IQUCaw8z/AAKCRCb9qggYcy5
IZyRAP4qhdUO9wi5dmqLX1xxOce5ljZleJ4M96FVdFAIvo7V3gD8ChTtRchoQQ6R
B4S4OaFE4k/QffwZ0kJjc9tkCE50fgs=
=FGjd
-----END PGP SIGNATURE-----

--===============5470712236640411925==--
------------=_1796158622-1226385-0--
Bug#1155626: marked as done (adduser: 3.160 marks the whole system ID range as used after --ingroup takes GID 999 as UID)
#4773
Author: Debian Bug Tracking System
Date: Tue, 01 Dec 2026 21:00
362 lines
16727 bytes
This is a multi-part message in MIME format...

------------=_1796158623-1226430-2
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain; charset="utf-8"

Your message dated Tue, 01 Dec 2026 20:54:20 +0000
with message-id <179615846009.3430727.17895668649894947403@fasolo.debian.or=
g>
and subject line Bug#1155725: fixed in adduser 3.161
has caused the Debian Bug report #1155725,
regarding adduser: 3.160 marks the whole system ID range as used after --in=
group takes GID 999 as UID
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


--=20
1155725: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=3D1155725
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems

------------=_1796158623-1226430-2
Content-Type: message/rfc822
Content-Disposition: inline
Content-Transfer-Encoding: 7bit

Received: (at submit) by bugs.debian.org; 28 Nov 2026 07:49:38 +0000
X-Spam-Checker-Version: SpamAssassin 4.0.1-bugs.debian.org_2005_01_02
	(2024-03-25) on buxtehude.debian.org
X-Spam-Level: 
X-Spam-Status: No, score=-15.2 required=4.0 tests=BAYES_00,
	BODY_INCLUDES_PACKAGE,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,
	DKIM_VALID_EF,HAS_PACKAGE,SPF_HELO_NONE,SPF_PASS autolearn=ham
	autolearn_force=no version=4.0.1-bugs.debian.org_2005_01_02
X-Spam-Bayes: score:0.0000 Tokens: new, 18; hammy, 150; neutral, 148; spammy,
	0. spammytokens: hammytokens:0.000-+--H*UA:sk:x86_64-,
	0.000-+--H*x:sk:x86_64-, 0.000-+--gdm3, 0.000-+--gnometerminal,
	0.000-+--gnome-terminal
Return-path: <kenhys@xdump.org>
Received: from www2150.sakura.ne.jp ([182.48.49.60]:62100)
	by buxtehude.debian.org with esmtps (TLS1.2:ECDHE_SECP521R1__RSA_SHA512__AES_256_GCM:256)
	(Exim 4.96)
	(envelope-from <kenhys@xdump.org>)
	id 1xXDBi-008TxN-3B
	for submit@bugs.debian.org;
	Sat, 28 Nov 2026 07:49:38 +0000
Received: from www2150.sakura.ne.jp (localhost [127.0.0.1])
	by www2150.sakura.ne.jp (8.16.1/8.16.1) with ESMTP id 6AS7nX0F001414
	for <submit@bugs.debian.org>; Sat, 28 Nov 2026 16:49:33 +0900 (JST)
	(envelope-from kenhys@xdump.org)
Received: from jet ([IPv6:2400:4052:1644:1400:5fa8:f9b8:d157:3da2])
	(authenticated bits=0)
	by www2150.sakura.ne.jp (8.16.1/8.16.1) with ESMTPSA id 6AS7nWfa001411
	(version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO)
	for <submit@bugs.debian.org>; Sat, 28 Nov 2026 16:49:32 +0900 (JST)
	(envelope-from kenhys@xdump.org)
DKIM-Signature: a=rsa-sha256; bh=5JbwwcvsiLigh8CxF5YmnKLnBWU82UnaKINnABWKLoI=;
        c=relaxed/relaxed; d=xdump.org;
        h=From:Message-ID:To:Subject:Date;
        s=rs20240131; t=1795852173; v=1;
        b=YjYrE6iBLyweSHd87Ln5LwQriyQqZ/8FSCaaLh/l0Sw4rvEuTbcnq50dFNh9DGZu
         lsMsAP3pmyNy0+LHTCAnpX8zsYwY6wRSkw8mfu2M1jHMOECdDsDdPVVJpgKvP/ze
         C9nRH0jcHjs4rZcBP78uBnJ4qcfdL7PzQuTooX7LYIxI+eG+8Po6T63tbaFYaxA8
         XDI8QmiwTFJSZTxaoUm2mPxIeuF+MhLAhfjPm95QzanjXPbA5Me6AfCJP/Knq4wx
         Yn4PedbZ8tRM8STV2T/jx9LviD3gnuRzBDD0dkr3wRwSCCWgPoAjPBhtM6q1Ib6y
         wXBXLufNxcWdAFDDm3pA7w==
Date: Sat, 28 Nov 2026 16:49:32 +0900
From: Kentaro HAYASHI <kenhys@xdump.org>
To: submit@bugs.debian.org
Subject: adduser: 3.160 marks the whole system ID range as used after
 --ingroup takes GID 999 as UID
Message-ID: <20261128164932.143ac042@jet>
Organization: XDUMP.ORG
X-Mailer: Claws Mail 4.4.0 (GTK 3.24.52; x86_64-pc-linux-gnu)
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
X-Virus-Status: clean
X-Anti-Virus-Server: fsav112.rs.sakura.ne.jp
Delivered-To: submit@bugs.debian.org

Package: adduser
Version: 3.160
Severity: serious
Justification: makes unrelated packages unable to install (regression
from 3.159)

Dear Maintainer,

   * What led up to the situation?

Since adduser 3.160 (uploaded 2026-11-27), installing a GNOME desktop
on the daily Debian sid nocloud image fails:

  apt-get install -y gdm3 task-japanese-gnome-desktop gnome-terminal yad

  Setting up sane-utils (1.4.0-1.1) ...
  Adding saned group and user...
  warn: All ids up to 999 have already been assigned and REUSE_IDS is
  set to no. warn: No UID/GID pair is available in the range 1000-999
  (FIRST_SYS_UID - LAST_SYS_UID). fatal: The user `saned' was not
  created. usermod: user 'saned' does not exist
  dpkg: error processing package sane-utils (--configure):
   installed sane-utils package postinst maintainer script subprocess
  failed with exit status 6 ...
  Errors were encountered while processing:
   avahi-daemon
   ipp-usb
   libapache2-mod-dnssd
   usbmuxd
   gnome-user-share
   sane-utils

The system ID range 100-999 still has many free IDs, but adduser says
that it is full. After cups-pk-helper is configured, every later
`adduser --system` and `addgroup --system` call fails, so packages
that have nothing to do with cups-pk-helper cannot be installed:

- avahi-daemon and usbmuxd fail in their postinst, because adduser
  exits with status 22.
- ipp-usb, libapache2-mod-dnssd and gnome-user-share then fail with
  "dependency problems - leaving unconfigured", because they depend
  on avahi-daemon.
- sane-utils ignores the adduser error with `|| true`, but the next
  `usermod -d /var/lib/saned saned` fails, because the user does not
  exist.

The cause:

- systemd-sysusers creates lpadmin with GID 999 (LAST_SYSTEM_GID),
  because it gives out IDs from 999 down.
- cups-pk-helper's postinst runs
  `adduser --system ... --ingroup lpadmin cups-pk-helper`.
  adduser 3.160 uses the GID 999 as the UID, and also writes
  `@global:last_sys_id=999` to /var/lib/adduser/state.
- With REUSE_IDS=no (the default), the next ID to look for is 1000,
  which is above LAST_SYSTEM_UID/GID. So every later system user or
  group fails.

Without systemd, lpadmin gets GID 101 and this does not happen.

   * What exactly did you do (or not do) that was effective (or
     ineffective)?

On a fresh sid chroot with adduser 3.160:

  groupadd -g 999 lpadmin
  adduser --system --ingroup lpadmin cpk
  adduser --system test

   * What was the outcome of this action?

  warn: All ids up to 999 have already been assigned and REUSE_IDS is
  set to no. warn: No UID is available in the range 1000-999
  (FIRST_SYS_UID - LAST_SYS_UID). fatal: The user `test' was not
  created.

With adduser 3.159, the same steps create test with UID 100.
REUSE_IDS=yes in /etc/adduser.conf works as a workaround.

   * What outcome did you expect instead?

I expected the same result as 3.159: cups-pk-helper gets UID 999,
and later `adduser --system` calls still get free IDs from the
system range, so avahi-daemon, usbmuxd, sane-utils
and the packages that depend on them install without errors.


Best regards,

------------=_1796158623-1226430-2
Content-Type: message/rfc822
Content-Disposition: inline
Content-Transfer-Encoding: 7bit

Received: (at 1155725-close) by bugs.debian.org; 1 Dec 2026 20:54:24 +0000
X-Spam-Checker-Version: SpamAssassin 4.0.1-bugs.debian.org_2005_01_02
	(2024-03-25) on buxtehude.debian.org
X-Spam-Level: 
X-Spam-Status: No, score=-113.1 required=4.0 tests=BAYES_00,DKIM_SIGNED,
	DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FVGT_m_MULTI_ODD,HAS_BUG_NUMBER,
	MD5_SHA1_SUM,PGPSIGNATURE,RCVD_IN_DNSWL_MED,SPF_HELO_PASS,SPF_PASS,
	USER_IN_DKIM_WELCOMELIST autolearn=ham autolearn_force=no
	version=4.0.1-bugs.debian.org_2005_01_02
X-Spam-Bayes: score:0.0000 Tokens: new, 12; hammy, 150; neutral, 255; spammy,
	0. spammytokens: hammytokens:0.000-+--HX-Debian:DAK,
	0.000-+--H*rp:D*ftp-master.debian.org, 0.000-+--HX-DAK:process-upload,
	0.000-+--H*r:sk:fasolo., 0.000-+--H*MI:fasolo
Return-path: <envelope@ftp-master.debian.org>
Received: from mitropoulos.debian.org ([2001:648:2ffc:deb:216:61ff:fe9d:958d]:40514)
	by buxtehude.debian.org with esmtps (TLS1.3:ECDHE_SECP256R1__RSA_PSS_RSAE_SHA256__AES_256_GCM:256)
	(Exim 4.96)
	(envelope-from <envelope@ftp-master.debian.org>)
	id 1xYUro-0058J4-08
	for 1155725-close@bugs.debian.org;
	Tue, 01 Dec 2026 20:54:24 +0000
Received: via submission
	from C=NA,ST=NA,L=Ankh Morpork,O=Debian SMTP,OU=Debian SMTP CA,CN=fasolo.debian.org,EMAIL=hostmaster@fasolo.debian.org (verified)
	by mitropoulos.debian.org with esmtps (TLS1.3:ECDHE_SECP256R1__RSA_PSS_RSAE_SHA256__AES_256_GCM:256)
	(Exim 4.96)
	(envelope-from <envelope@ftp-master.debian.org>)
	id 1xYUrl-001TYC-18
	for 1155725-close@bugs.debian.org;
	Tue, 01 Dec 2026 20:54:21 +0000
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed;
	d=ftp-master.debian.org; s=smtpauto.fasolo; h=Content-Type:Message-Id:Date:
	Subject:MIME-Version:To:Reply-To:From:Cc:Content-Transfer-Encoding:Content-ID
	:Content-Description:In-Reply-To:References;
	bh=DgfnenywGB7/frpVFhe/WxhX3BhEa5b0OXn4/5sN2D4=; b=WBcPjJ3LKb4i/B3SOrZfDo7SeW
	SNSWsfepU0ZjcqTUBAgxbMeFpaBFkADB/F7b0rJhJbH0iNrk6fCwUijLxG+ocWb2wyNEqkwCLAElP
	SMLakCrdByhPAGUvtmPDopAY3sgLjZfxe9waPx/RLm8KG3/rwWDgFUBgl6SLpbAXsYNe5OSdY4Hnv
	Kggq9skZGgMXhyl87b6r8h/A/z0yHzu+AW68p52hMFUZOJKOBTMf1+PSE2Fukjn4Gpc/tESe6o8ve
	dEhF6fmqdJzLr7T9Q1IGCKY8qtvugEO4NktpV3sLWyZfNp2g5B8HgEmsd/hpihQ+Lj6moEbRAcf0Q
	VfsJtQYg==;
Received: from dak by fasolo.debian.org with local (Exim 4.98.2)
	(envelope-from <envelope@ftp-master.debian.org>)
	id 1xYUrk-0000000EP5b-0Xkc;
	Tue, 01 Dec 2026 20:54:20 +0000
From: Debian FTP Masters <ftpmaster@ftp-master.debian.org>
Reply-To: Marc Haber <mh+debian-packages@zugschlus.de>
To: 1155725-close@bugs.debian.org
X-DAK: dak process-upload
X-Debian: DAK
X-Debian-Package: adduser
Debian: DAK
Debian-Changes: adduser_3.161_source.changes
Debian-Source: adduser
Debian-Version: 3.161
Debian-Architecture: source
Debian-Suite: unstable
Debian-Archive-Action: accept
MIME-Version: 1.0
Subject: Bug#1155725: fixed in adduser 3.161
Date: Tue, 01 Dec 2026 20:54:20 +0000
Message-Id: <179615846009.3430727.17895668649894947403@fasolo.debian.org>
Content-Type: multipart/signed; micalg="pgp-sha256";
 protocol="application/pgp-signature";
 boundary="===============3468055939081658873=="
X-CrossAssassin-Score: 4

--===============3468055939081658873==
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: quoted-printable

Source: adduser
Source-Version: 3.161
Done: Marc Haber <mh+debian-packages@zugschlus.de>

We believe that the bug you reported is fixed in the latest version of
adduser, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 1155725@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Marc Haber <mh+debian-packages@zugschlus.de> (supplier of updated adduser pac=
kage)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Tue, 01 Dec 2026 20:55:19 +0100
Source: adduser
Architecture: source
Version: 3.161
Distribution: unstable
Urgency: medium
Maintainer: Debian Adduser Developers <adduser@packages.debian.org>
Changed-By: Marc Haber <mh+debian-packages@zugschlus.de>
Closes: 1140472 1155626 1155673 1155725 1155920
Changes:
 adduser (3.161) unstable; urgency=3Dmedium
 .
   [ Juaesm ]
   * fix(postrm): remove /var/lib/adduser recursively on purge
     Thanks: Sven Geuer (Closes: #1155673)
 .
   [ Marc Haber ]
   * fix: do not use the reuse_id counter for --ingroup.
     Thanks to Jeroen Diederen, Kentaro HAYASHI (Closes: #1155725, #1155626)
   * add debian/postinst to fix the counter after #1155725
   * update Brasilian Portuguese man page translation.
     Thanks to Paulo Henrique de Lima Santana (Closes: #1155920)
   * fix typos and missing spaces.
     Thanks: Helge Kreutzmann (Closes: #1140472)
Checksums-Sha1:
 d4fa428ce468b3d125ad296818f3d5b874be737b 1975 adduser_3.161.dsc
 fcaa22e615482140594646df6e45d9a2c5b6a9be 389092 adduser_3.161.tar.xz
 5e64db42b969605985e85e5be14e944d2657e420 1175692 adduser_3.161.git.tar.xz
 a56d04deefbb6481ad52034c523829ba25b0114f 17798 adduser_3.161_source.buildinfo
Checksums-Sha256:
 8b6fdfd34c72e0f7fd79b91b811a372b53874ef6fde5411ab894929b34ea129b 1975 adduse=
r_3.161.dsc
 f0047b45306495b9a23bf1f412ce30a77685739dfafcaa628747bf94cba0c48c 389092 addu=
ser_3.161.tar.xz
 a93ad1bc257169e61de5aa3433bdf2c100f58f7a0d075a69c19c5e23174b9932 1175692 add=
user_3.161.git.tar.xz
 c1e73c9d922f3d99c4655d375a4efd6a92efd0b20cdf11554da26324769dac86 17798 addus=
er_3.161_source.buildinfo
Files:
 5eb0fd9ca4fc41c7abcb9c82dd337552 1975 admin important adduser_3.161.dsc
 6d8f0ae64b02979616defa18531ed804 389092 admin important adduser_3.161.tar.xz
 724ed2f97936222e855e524fbda4c9a7 1175692 admin important adduser_3.161.git.t=
ar.xz
 c998a6efeca4bdabd1f955ffbfafd184 17798 admin important adduser_3.161_source.=
buildinfo
Git-Tag-Info: tag=3Dbf4b08e3f7048676d301781e698dba5b6e6b64e5 fp=3D6852d763418=
0aae6088c83ead54d300c376391c9
Git-Tag-Tagger: Marc Haber <mh+debian-packages@zugschlus.de>

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEN02M5NuW6cvUwJcqYG0ITkaDwHkFAmsPLXwACgkQYG0ITkaD
wHkRpQ//SC6uzklEEDVhQdsQyRG2jNxKDeXlWYeMuhfHRxqPFu5/HrJBJD/QzbFy
7PWwgvfYUGenAXol3Nf3/dNghkNeVBq2uq7etk4b2TX8tPc4cOIC9wo915VGcdeH
ztcfhFSKwibePeLZVxXfyX0dknyLuI9ahMionW7ZtbQS3Oaw7GnF1PUQsoo7GlmY
ooBQysFsguspUO0i2/O8FE4c9b+a8wyXrb3yfZzcraekgFSiy5NNlrXXcQukv6N2
gNaaR9V3JyPyfAYMENXu8Cv3Dlprfg6yHVcm0Sm4zMEsjW81G1FboSSNU6inA/2b
S2ZrpiB+ZU/e5xxA9MEEy/Zndv1TgFB6ycl+cI2nf48fVJzJM4ev49yNbgOzX0nL
6WOdTjzCUUKVXDLGtrB0wAc9qanH7LV8tJ8O0ZTLjLtirlFYnrSmwWz/phP+mtrv
zpcOXFe+TQMwq1JMdeaPLNlQwO+HE3mzn/dkb6dSN1jw55zWGN323CK0qWNbNMIl
7+YWq7sUMeWOc0ZzGP2KUdRiUxEiOcIfoNJeGdtbRwvtPk7uS9VE9u95jf9bt9Fy
1edaR8N9/9fh1+1q714ttzpVj2XWwHowjzWzul+PuJ2X3w2LtJI+rnQQMQFFxAfY
yhDTXRbDI12CKolPf/F5NLKf4ME334ZU/5aDxGGAsxK4J0/m56c=3D
=3DUGgA
-----END PGP SIGNATURE-----


--===============3468055939081658873==
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----

iHUEABYIAB0WIQTziqJOuF8J+ZI8pJSb9qggYcy5IQUCaw8z/AAKCRCb9qggYcy5
IVHsAP9fC5dFv5FnMfPohX/j7R756h8V3pgikyQu5ztK4o6h+QD/ZqNPlzW8Gh8j
PbKiPLGM25zfC05n+ut2wO1emSP4LAE=
=0rsg
-----END PGP SIGNATURE-----

--===============3468055939081658873==--
------------=_1796158623-1226430-2--
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads