[Pkg-shadow-devel] Bug#325436: marked as done (Please allow more than 32 groups per user)

Debian Bug Tracking System owner at bugs.debian.org
Mon Aug 29 18:33:17 UTC 2005


Your message dated Mon, 29 Aug 2005 20:20:28 +0200
with message-id <20050829182028.GL1350 at mykerinos.kheops.frmug.org>
and subject line Bug#325436: [Pkg-shadow-devel] Bug#325436: Limit of 32 groups per users
has caused the attached Bug report 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 I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--------------------------------------
Received: (at submit) by bugs.debian.org; 28 Aug 2005 17:08:25 +0000
>From beuc at gnu.org Sun Aug 28 10:08:25 2005
Return-path: <beuc at gnu.org>
Received: from 26.mail-out.ovh.net [213.186.42.179] 
	by spohr.debian.org with esmtp (Exim 3.36 1 (Debian))
	id 1E9Qds-0003Az-00; Sun, 28 Aug 2005 10:08:25 -0700
Received: (qmail 28896 invoked by uid 503); 28 Aug 2005 17:08:43 -0000
Received: (QMFILT: 1.0); 28 Aug 2005 17:08:43 -0000
Received: from b6.ovh.net (HELO mail157.ha.ovh.net) (213.186.33.56)
  by 26.mail-out.ovh.net with DES-CBC3-SHA encrypted SMTP; 28 Aug 2005 17:08:43 -0000
Received: from b0.ovh.net (HELO queue-out) (213.186.33.50)
	by b0.ovh.net with SMTP; 28 Aug 2005 17:08:26 -0000
Received: from mail157.ha.ovh.net (10.0.50.157)
  by mail157.ha.ovh.net with SMTP; 28 Aug 2005 17:08:25 -0000
Received: from b0.ovh.net (HELO queue-pre) (213.186.33.50)
	by b0.ovh.net with SMTP; 28 Aug 2005 17:08:25 -0000
Received: from anice-152-1-61-146.w86-193.abo.wanadoo.fr (HELO localhost.localdomain) (86.193.220.146)
  by ns0.ovh.net with SMTP; 28 Aug 2005 17:08:25 -0000
Received: from me by localhost.localdomain with local (Exim 4.52)
	id 1E9Qdo-0002Pu-OF; Sun, 28 Aug 2005 19:08:20 +0200
Date: Sun, 28 Aug 2005 19:08:20 +0200
From: Sylvain Beucler <beuc at gnu.org>
To: submit at bugs.debian.org
Cc: savannah-hackers-public at gnu.org
Subject: Limit of 32 groups per users
Message-ID: <20050828170820.GA9085 at localhost.localdomain>
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
X-Operating-System: GNU/Linux
User-Agent: Mutt/1.5.9i
X-Ovh-Remote: 86.193.220.146 (anice-152-1-61-146.w86-193.abo.wanadoo.fr)
X-Ovh-Local: 213.186.33.20 (ns0.ovh.net)
X-Spam-Check: fait|type 1&3|0.0|H 0.5
Delivered-To: submit at bugs.debian.org
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02 
	(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Level: 
X-Spam-Status: No, hits=-7.0 required=4.0 tests=BAYES_00,HAS_PACKAGE,
	RCVD_IN_BL_SPAMCOP_NET autolearn=no 
	version=2.60-bugs.debian.org_2005_01_02

Package: passwd
Version: 1:4.0.3-31sarge5
Severity: important

We would really need to get more groups per users in our stable
installation.

The stable kernel has a limit of 65536 groups per users:
$ cat /proc/sys/kernel/ngroups_max
65536

However usermod is still limited to 32 users:
$ usermod -G testgroup1,testgroup2,testgroup3,testgroup4,testgroup5,testgro=
up6,testgroup7,testgroup8,testgroup9,testgroup10,testgroup11,testgroup12,te=
stgroup13,testgroup14,testgroup15,testgroup16,testgroup17,testgroup18,testg=
roup19,testgroup20,testgroup21,testgroup22,testgroup23,testgroup24,testgrou=
p25,testgroup26,testgroup27,testgroup28,testgroup29,testgroup30,testgroup31=
,testgroup32,testgroup33,testgroup34,testgroup35,testgroup36,testgroup37,te=
stgroup38,testgroup39,testgroup40,testgroup41,testgroup42,testgroup43,testg=
roup44,testgroup45,testgroup46,testgroup47,testgroup48,testgroup49,testgrou=
p50,testgroup51,testgroup52,testgroup53,testgroup54,testgroup55,testgroup56=
,testgroup57,testgroup58,testgroup59,testgroup60,testgroup61,testgroup62,te=
stgroup63,testgroup64,testgroup65,testgroup66,testgroup67,testgroup68,testg=
roup69,testgroup70,testgroup71,testgroup72,testgroup73,testgroup74,testgrou=
p75,testgroup76,testgroup77,testgroup78,testgroup79,testgroup80,testgroup81=
,testgroup82,testgroup83,testgroup84,testgroup85,testgroup86,testgroup87,te=
stgroup88,testgroup89,testgroup90,testgroup91,testgroup92,testgroup93,testg=
roup94,testgroup95,testgroup96,testgroup97,testgroup98,testgroup99,testgrou=
p100 test
usermod: too many groups specified (max 32).



Incidentally 'id' is also limited to 32
users. sysconf(_SC_NGROUPS_MAX) also returns 32.

stable's /usr/include/linux/limits.h has NGROUPS_MAX set to 32. In
testing and unstable it is set to 65536.


The usermod limitation happens in stable and testing (tested with
their respective default kernel), but not in unstable (tested with the
testing kernel - all tested kernels having ngroups_max=3D65536).


Basically we have a kernel without the limitation, but the executables
have the limitation, which was probably set at compile time.


Do you know what's the origin of the limitation, and how it could be
fixed to match the default kernel's?

--=20
Sylvain
GNU Savannah: http://savannah.gnu.org

---------------------------------------
Received: (at 325436-done) by bugs.debian.org; 29 Aug 2005 18:21:10 +0000
>From bubulle at kheops.frmug.org Mon Aug 29 11:21:10 2005
Return-path: <bubulle at kheops.frmug.org>
Received: from perrier.eu.org (kheops.perrier.eu.org) [81.56.227.253] 
	by spohr.debian.org with esmtp (Exim 3.36 1 (Debian))
	id 1E9oFq-0002nd-00; Mon, 29 Aug 2005 11:21:10 -0700
Received: from localhost (localhost [127.0.0.1])
	by kheops.perrier.eu.org (Postfix) with ESMTP id ECC4A4FA76;
	Mon, 29 Aug 2005 20:20:37 +0200 (CEST)
Received: from kheops.perrier.eu.org ([127.0.0.1])
	by localhost (kheops [127.0.0.1]) (amavisd-new, port 10024)
	with ESMTP id 20447-10; Mon, 29 Aug 2005 20:20:37 +0200 (CEST)
Received: from mykerinos.kheops.frmug.org (mykerinos.kheops.frmug.org [192.168.1.3])
	by kheops.perrier.eu.org (Postfix) with ESMTP id 56A2E4FA2C;
	Mon, 29 Aug 2005 20:20:37 +0200 (CEST)
Received: by mykerinos.kheops.frmug.org (Postfix, from userid 7426)
	id 36C79232DC; Mon, 29 Aug 2005 20:20:28 +0200 (CEST)
Date: Mon, 29 Aug 2005 20:20:28 +0200
From: Christian Perrier <bubulle at debian.org>
To: Sylvain Beucler <beuc at gnu.org>
Cc: 325436-done at bugs.debian.org
Subject: Re: Bug#325436: [Pkg-shadow-devel] Bug#325436: Limit of 32 groups per users
Message-ID: <20050829182028.GL1350 at mykerinos.kheops.frmug.org>
References: <20050828170820.GA9085 at localhost.localdomain> <Pine.LNX.4.61L.0508281942080.4242 at boss.zie.pg.gda.pl> <20050828203757.GA4920 at localhost.localdomain> <20050829050414.GH26066 at mykerinos.kheops.frmug.org> <20050829181603.GB6071 at localhost.localdomain>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <20050829181603.GB6071 at localhost.localdomain>
User-Agent: Mutt/1.5.10i
X-Virus-Scanned: by amavisd-new-20030616-p10 (Debian) at kheops.frmug.org
Delivered-To: 325436-done at bugs.debian.org
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02 
	(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Level: 
X-Spam-Status: No, hits=-6.0 required=4.0 tests=BAYES_00,HAS_BUG_NUMBER 
	autolearn=no version=2.60-bugs.debian.org_2005_01_02

Quoting Sylvain Beucler (beuc at gnu.org):
> On Mon, Aug 29, 2005 at 07:04:14AM +0200, Christian Perrier wrote:
> > 
> > > Thanks a lot. I'll contact the glic people :)
> > 
> > 
> > Which also means that this bug report is to be reassign to glibc, I
> > suppose.
> 
> That would make it a duplicate; I send a new bug report to glibc that
> includes a copy of the current report (Bug#325465:).

Well, then I think we should close that one for shadow.





More information about the Pkg-shadow-devel mailing list