From owner-freebsd-hackers@FreeBSD.ORG Wed Feb 7 13:45:00 2007 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 65EEA16A400 for ; Wed, 7 Feb 2007 13:45:00 +0000 (UTC) (envelope-from kostikbel@gmail.com) Received: from relay01.kiev.sovam.com (relay01.kiev.sovam.com [62.64.120.200]) by mx1.freebsd.org (Postfix) with ESMTP id 0B0DC13C478 for ; Wed, 7 Feb 2007 13:44:59 +0000 (UTC) (envelope-from kostikbel@gmail.com) Received: from [212.82.216.227] (helo=fw.zoral.com.ua) by relay01.kiev.sovam.com with esmtps (TLSv1:AES256-SHA:256) (Exim 4.60) (envelope-from ) id 1HEn6P-000OnI-RW for freebsd-hackers@freebsd.org; Wed, 07 Feb 2007 15:44:58 +0200 Received: from deviant.kiev.zoral.com.ua (root@deviant.kiev.zoral.com.ua [10.1.1.148]) by fw.zoral.com.ua (8.13.4/8.13.4) with ESMTP id l17DiNGG080462 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 7 Feb 2007 15:44:23 +0200 (EET) (envelope-from kostikbel@gmail.com) Received: from deviant.kiev.zoral.com.ua (kostik@localhost [127.0.0.1]) by deviant.kiev.zoral.com.ua (8.13.8/8.13.8) with ESMTP id l17DiMGU078091; Wed, 7 Feb 2007 15:44:23 +0200 (EET) (envelope-from kostikbel@gmail.com) Received: (from kostik@localhost) by deviant.kiev.zoral.com.ua (8.13.8/8.13.8/Submit) id l17DiMJu078090; Wed, 7 Feb 2007 15:44:22 +0200 (EET) (envelope-from kostikbel@gmail.com) X-Authentication-Warning: deviant.kiev.zoral.com.ua: kostik set sender to kostikbel@gmail.com using -f Date: Wed, 7 Feb 2007 15:44:22 +0200 From: Kostik Belousov To: Maxim Konovalov Message-ID: <20070207134421.GF3304@deviant.kiev.zoral.com.ua> References: <45C95C04.6060402@centtech.com> <20070207120948.N31858@mp2.macomnet.net> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="m1UC1K4AOz1Ywdkx" Content-Disposition: inline In-Reply-To: <20070207120948.N31858@mp2.macomnet.net> User-Agent: Mutt/1.4.2.2i X-Virus-Scanned: ClamAV version 0.88.7, clamav-milter version 0.88.7 on fw.zoral.com.ua X-Virus-Status: Clean X-Spam-Status: No, score=-0.1 required=5.0 tests=ALL_TRUSTED,SPF_NEUTRAL autolearn=failed version=3.1.7 X-Spam-Checker-Version: SpamAssassin 3.1.7 (2006-10-05) on fw.zoral.com.ua X-Scanner-Signature: 7155bbd8d023de41950ebecbe4708355 X-DrWeb-checked: yes X-SpamTest-Envelope-From: kostikbel@gmail.com X-SpamTest-Group-ID: 00000000 X-SpamTest-Info: Profiles 752 [Feb 07 2007] X-SpamTest-Info: helo_type=3 X-SpamTest-Info: {received from trusted relay: not dialup} X-SpamTest-Method: none X-SpamTest-Method: Local Lists X-SpamTest-Rate: 0 X-SpamTest-Status: Not detected X-SpamTest-Status-Extended: not_detected X-SpamTest-Version: SMTP-Filter Version 3.0.0 [0255], KAS30/Release Cc: kostikbel@gmail.com, freebsd-hackers@freebsd.org Subject: Re: /etc/group limits (REAL limits) X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 07 Feb 2007 13:45:00 -0000 --m1UC1K4AOz1Ywdkx Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Feb 07, 2007 at 12:17:51PM +0300, Maxim Konovalov wrote: > On Tue, 6 Feb 2007, 22:56-0600, Eric Anderson wrote: >=20 > > On one of my boxes where I have a decent amount of (less than 50) > > users in a few groups, I finally hit the limit. Not 1024 bytes > > though (that I know of). When that happens though, it is sooner than > > expected, and tools (like 'id') seg fault (and core dump). > > > > I have a sample group, and it appears to be hitting the byte limit. > > If I add a single additional character to the group, it will break > > things. > > It appears to be a combination of multiple groups. > > > > Can someone with some experience in this area comment? I can send > > the group file itself if needed. > > > > This box is 6.2-PRERELEASE from about mid-September. I have also > > seen some issues on amd64, which I went through some debugging with > > Konstantin Belousov back in November (cc'ed). >=20 > Make sure you have rev. 1.32.8.3 of lib/libc/gen/getgrent.c. It was very strange thing with buggy code generated by compiler. I tracked = it down to exact assembler instruction missed in Mr. Anderson' instance of libc.so. After that, conversation stopped. --m1UC1K4AOz1Ywdkx Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (FreeBSD) iD8DBQFFyde1C3+MBN1Mb4gRAh06AJ9BpeH1gAXKGcJCgknfJY/GeQ+ISgCgm7dG YDa7SsqaZFb159BHUI79AUI= =Um8b -----END PGP SIGNATURE----- --m1UC1K4AOz1Ywdkx--