Hi, It seems that nothing is moving about this bug that is imho currently misclassified as a wishlist. The documentation of "man adduser" still clearly says what Fab pasted: "--group When combined with --system, a group with the same name and ID as the system user is created." For me it seems like a real problem if the program doesn''t follow it''s own documentation. So this is a bug. To overcome the UID/GID exhaustion problem the behavior could be like this: - use same UID=GID where there is still room in the system ID range (cross-section of IDs for SYSTEM_UID and SYSTEM_GID) - else fall back to current behavior (assign first free UID and GID) This way the amount of usable system UIDs and GIDs will remain the same and additionally it would be more compliant with the documentation and would look nicer. gw
Piotr Lewandowski
2010-Jul-06 13:37 UTC
[Adduser-devel] Bug#453086: adduser --system --group should ensure uid==gid
* GW <gwSPAM.debian at tnode.com>, 2010-05-02 05:19:>The documentation of "man adduser" still clearly says what Fab pasted: >"--group >When combined with --system, a group with the same name and ID as the >system user is created." >For me it seems like a real problem if the program doesn''t follow it''s >own documentation. So this is a bug.The attached patch fixes documentation inconsistency. -- Piotr Lewandowski -------------- next part -------------- A non-text attachment was scrubbed... Name: fix-adduser8-manpage.patch Type: text/x-diff Size: 425 bytes Desc: not available URL: <http://lists.alioth.debian.org/pipermail/adduser-devel/attachments/20100706/60170788/attachment.patch>
Marc Haber
2010-Jul-07 21:12 UTC
[Adduser-devel] Bug#453086: adduser --system --group should ensure uid==gid
On Tue, Jul 06, 2010 at 03:37:09PM +0200, Piotr Lewandowski wrote:> The attached patch fixes documentation inconsistency.I have committed this to svn, which improves the situation, while the real issue remains open. Greetings Marc -- ----------------------------------------------------------------------------- Marc Haber | "I don''t trust Computers. They | Mailadresse im Header Mannheim, Germany | lose things." Winona Ryder | Fon: *49 621 72739834 Nordisch by Nature | How to make an American Quilt | Fax: *49 621 72739835