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

Pàgina inicial
Delete this message
Reply to this message
Autor: Dominic Germain
Data:  
A: exim-dev
Assumpte: [exim-dev] [Bug 751] New: 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
           Summary: random exim_setugid / getpwuid bug
           Product: Exim
           Version: 4.69
          Platform: Macintosh
        OS/Version: MacOS X
            Status: NEW
          Severity: bug
          Priority: high
         Component: Delivery in general
        AssignedTo: nigel@???
        ReportedBy: dominic.germain@???
                CC: exim-dev@???



The "exim_setugid" (exim.c) function randomly exit with "cannot run
initgroups(): no passwd entry for uid=90".

It happend when then "deliver_message" function (deliver.c) is trying to
generate a bounce after failing delivering a message to a remote host.

So, the undeliverable message get frozen and remain in the queue until a
successful bounce retry. I also got a "Process failed (1) when writing error
message" in message_log because of the child that crash being unable to run
exim_setugid.

It seems that "getpwuid" which is involve in "exim_setugid" is sometime
returning NULL instead of the logged user.

For a 12 hours period, it could happend 5 to 10 times.

I got that problem on 2 Xserves Intel/10.5.4. I never got that on 3 Xserves
PPC/10.4.1. All of them are compiled the the same way using "exim" as
exim_user and "staff" as exim_group.


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