odd issue when running dbus-launch [patch to fix]

Vulpes Velox v.velox at vvelox.net
Mon Jan 1 14:05:26 PST 2007

On Mon, 1 Jan 2007 19:08:12 -0200
Thiago Macieira <thiago at kde.org> wrote:

> Vulpes Velox wrote:
> >Finally sat down to take the time to fix it. If sys/syslimits.h is
> >found upon configure, it will set buf_count to NGROUPS_MAX.
> This is not a fix. It's a workaround. 
> The bug is in your glibc or NSS modules that don't report the
> correct group count.

Just where in there is it suppose to be getting

As to the question of glibc, I am not seeing where this actually uses

I am curious, what function is failing? I see getgrouplist is working
entirely properly.

I am not seeing any attempts in dbus-sysdeps-unix.c to properly set
buf_count. It is set at 17 and never changed after that. The problem
with this is it limits some one to only 16 groups.

I will work on a better one later, but that will be slower, because
it is going to starting at 17 and counting up till you finally find a
number which does not result in -1 being returned.

More information about the dbus mailing list