From owner-freebsd-hackers@FreeBSD.ORG Wed Feb 7 14:11:03 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 7349716A400 for ; Wed, 7 Feb 2007 14:11:03 +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 0AC6913C461 for ; Wed, 7 Feb 2007 14:11:02 +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 1HEnVd-0008jy-Af; Wed, 07 Feb 2007 16:11:01 +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 l17EAVCP081260 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 7 Feb 2007 16:10:31 +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 l17EAVmu081714; Wed, 7 Feb 2007 16:10:31 +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 l17EAV4l081707; Wed, 7 Feb 2007 16:10:31 +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 16:10:31 +0200 From: Kostik Belousov To: Eric Anderson Message-ID: <20070207141031.GG3304@deviant.kiev.zoral.com.ua> References: <45C95C04.6060402@centtech.com> <20070207120948.N31858@mp2.macomnet.net> <20070207134421.GF3304@deviant.kiev.zoral.com.ua> <45C9DB67.50602@freebsd.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="GdbWtwDHkcXqP16f" Content-Disposition: inline In-Reply-To: <45C9DB67.50602@freebsd.org> 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: 6dc4245230f22f3abb357b69a6da667e 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: 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 14:11:03 -0000 --GdbWtwDHkcXqP16f Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Feb 07, 2007 at 08:00:07AM -0600, Eric Anderson wrote: > On 02/07/07 07:44, Kostik Belousov wrote: > >On Wed, Feb 07, 2007 at 12:17:51PM +0300, Maxim Konovalov wrote: > >>On Tue, 6 Feb 2007, 22:56-0600, Eric Anderson wrote: > >> > >>>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). > >>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 track= ed=20 > >it > >down to exact assembler instruction missed in Mr. Anderson' instance of > >libc.so. After that, conversation stopped. >=20 >=20 > Sorry about that Kostik, the last message was for me to try a newer=20 > libc.so.6. If I recall, I tried that too. I'm not sure what else you=20 > wanted me to try. If you have more ideas, I'm all ears. >=20 AFAIR, libc.so from install CD worked ? I said you that I suspect your compiler. You could try: - libc.so.6 from 6.2-RELEASE CD (I suspect it will work); - compiler from same CD (e.g., try to recompile libc on clean 6.2 RELEASE installation). --GdbWtwDHkcXqP16f Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (FreeBSD) iD8DBQFFyd3WC3+MBN1Mb4gRAgeAAJ9gTFAWlWGd7jQI6pMe7m1qRV1BRgCeOY6s lQ1+x48MBxMADzJLVEubndI= =Fy6W -----END PGP SIGNATURE----- --GdbWtwDHkcXqP16f--