Yahoo Groups archive

Milter-greylist

Index last updated: 2026-04-28 23:32 UTC

Message

Re: [milter-greylist] Compile problem on CentOS 4.2

2006-03-29 by manu@netbsd.org

Kai Schaetzl <maillists@...> wrote:

> > #ifdef HAVE_INITGROUPS 
> >                if (initgroups(conf.c_user, pw->pw_gid) != 0) { 
> >                        syslog(LOG_ERR, "%s: cannot change " 
> >                            "supplementary groups: %s\n", 
> >                            argv[0], strerror(errno)); 
> >                        exit(EX_OSERR); 
> >                } 
> > #endif 
> 
> Question: is it necessary at all? Isn't the first group sufficient? Well,
> probably a dumb question, but I don't know much about this ;-)

Well it's not nescessary, since it's ifdef'ed. You can tweak config.h to
remove HAVE_INITGROUPS. For a right fix, I'm tempted to turn it into a
warking, but I'd like an input from others. Why do we need initgroups? 

-- 
Emmanuel Dreyfus
Le cahier de l'admin BSD 2eme ed. est dans toutes les bonnes librairies
http://www.eyrolles.com/Informatique/Livre/9782212114638/livre-bsd.php
manu@...

Attachments

Move to quarantaine

This moves the raw source file on disk only. The archive index is not changed automatically, so you still need to run a manual refresh afterward.