[exim-dev] [Bug 751] random exim_setugid / getpwuid bug

Startseite
Nachricht löschen
Nachricht beantworten
Autor: Dominic Germain
Datum:  
To: exim-dev
Betreff: [exim-dev] [Bug 751] random exim_setugid / getpwuid bug
------- You are receiving this mail because: -------
You are on the CC list for the bug.

http://bugs.exim.org/show_bug.cgi?id=751




--- Comment #4 from Dominic Germain <dominic.germain@???> 2008-08-23 03:44:21 ---
I've add some debug traces in exim.c (see the attached file).

Those lines allow me to discover that sometime, getegid return "20" while
geteuid return "0".

Error case :
2008-08-22 20:41:16 uid:90 / gid:20 / euid:0 / egid:20 / root_uid:0
2008-08-22 20:41:16 cannot run initgroups(): no passwd entry for uid=90

Normal case :
2008-08-22 21:54:15 uid:90 / gid:20 / euid:0 / egid:0 / root_uid:0
2008-08-22 21:54:15 initgroups completed

Any idea?


--
Configure bugmail: http://bugs.exim.org/userprefs.cgi?tab=email