[Bug 774852] Re: Postfix 'local' crashes

Serge Hallyn 774852 at bugs.launchpad.net
Thu May 26 02:56:52 UTC 2011


Tried to reproduce this on i386, but couldn't.

Albrecht, it's a long shot, but could you try this modified getrlimit
test program?  (replace 112 and 105 with the gid and uid for postfix,
respectively, if they are different on your system).

#include <sys/resource.h>
#include <stdio.h>
#include <stdlib.h>

int main(int argc, char **argv)
{
    struct rlimit rl;
    int result;

    result = setresgid(0,112,0);
    printf("setresgid result is %d\n", result);
    result = setresuid(0,105,0);
    printf("setresuid result is %d\n", result);
    result = getrlimit(RLIMIT_NOFILE, &rl);
    printf("%d -> %d %d\n", result, (int) rl.rlim_cur, (int) rl.rlim_max);
    return 0;
}

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to postfix in Ubuntu.
https://bugs.launchpad.net/bugs/774852

Title:
  Postfix 'local' crashes



More information about the Ubuntu-server-bugs mailing list