I am trying to debug some core dump problems. I should be able to run imap by itself right? How to fix? # ./imap imap(root): Fatal: setgroups() failed: Too many extra groups I am using latest nightly code.
At 9:39 AM -0800 1/5/08, Anil wrote:>I am trying to debug some core dump problems. I should be able to run >imap by itself right? How to fix? > ># ./imap >imap(root): Fatal: setgroups() failed: Too many extra groups > >I am using latest nightly code.That error indicates that the root account is a member of too many groups to use the setgroups() system call, at least after Dovecot adds its mail_extra_groups list. Typically systems control that limit with the NGROUPS_MAX or kern.ngroups kernel parameter (depending on the heritage of the specific OS) and the traditional limit is 16, with some systems defaulting to 32. Some systems are held to 32 as an absolute limit. Some programs deal with that limit by truncating the list of groups provided to setgroups() but that can be a tricky business. -- Bill Cole bill at scconsult.com
On Sat, 2008-01-05 at 09:39 -0800, Anil wrote:> I am trying to debug some core dump problems. I should be able to run > imap by itself right? How to fix? > > # ./imap > imap(root): Fatal: setgroups() failed: Too many extra groups > > I am using latest nightly code.Fixed: http://hg.dovecot.org/dovecot/rev/bffc8788eb94 -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 189 bytes Desc: This is a digitally signed message part URL: <http://dovecot.org/pipermail/dovecot/attachments/20080106/6d4e10dd/attachment-0002.bin>
Seemingly Similar Threads
- Samba 3.6.4 on Solaris - groups for user inconsistent
- [Bug 787] Minor security problem due to use of deprecated NGROUPS_MAX in uidswap.c (sshd)
- [Bug 3735] New: The ngroups variable may be set to a negative value when calling sysconf(_SC_NGROUPS_MAX)
- use sysconf instead of NGROUPS_MAX
- dying on osx