/etc/group limits (REAL limits)

Kostik Belousov kostikbel at gmail.com
Wed Feb 7 13:45:00 UTC 2007


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 tracked it
down to exact assembler instruction missed in Mr. Anderson' instance of
libc.so. After that, conversation stopped.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-hackers/attachments/20070207/825a959b/attachment.pgp


More information about the freebsd-hackers mailing list