From owner-freebsd-hackers@FreeBSD.ORG Wed Feb 7 09:47:39 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 AEDAD16A492 for ; Wed, 7 Feb 2007 09:47:37 +0000 (UTC) (envelope-from maxim@macomnet.ru) Received: from mp2.macomnet.net (mp2.macomnet.net [195.128.64.6]) by mx1.freebsd.org (Postfix) with ESMTP id F296313C4A3 for ; Wed, 7 Feb 2007 09:47:36 +0000 (UTC) (envelope-from maxim@macomnet.ru) Received: from localhost (localhost.int.ru [127.0.0.1] (may be forged)) by mp2.macomnet.net (8.13.7/8.13.8) with ESMTP id l179Hq25054001; Wed, 7 Feb 2007 12:17:52 +0300 (MSK) (envelope-from maxim@macomnet.ru) Date: Wed, 7 Feb 2007 12:17:51 +0300 (MSK) From: Maxim Konovalov To: Eric Anderson In-Reply-To: <45C95C04.6060402@centtech.com> Message-ID: <20070207120948.N31858@mp2.macomnet.net> References: <45C95C04.6060402@centtech.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII 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 09:47:39 -0000 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. -- Maxim Konovalov