Re: Can't get ezmlm-idx to work, unable to exec qq. Need help
Steve Fatula <[email protected]> Mon, 28 Jan 2008 15:15:07 -0600
| Newsgroups | gmane.mail.ezmlm |
|---|---|
| Organization | Fatula Family |
| Message-ID | <[email protected]> |
Bruce Guenter wrote: > I know nothing about dtrace, but what needs to be shown is what happens > in the child process after the vfork in qmail.c. I might be able to see > what is happening from that. Does OSX have ptrace like other BSDs? > That is may be more useful. > > Bruce, as it turns out, I found the problem, well, at least a workaround. It's vfork and some odd combination. If I change vfork to fork, it works fine. It wasn't just ezmlm-idx, it was also qmail. Both seem to share the same qmail.c. There was discussion on this in the qmail mailing list, separately. Seems to be some sort of weird interaction between vfork, a non absolute file path, execv, and set user id! Other variations seem to work. So, the simple patch is to replace vfork with fork. Even putting in the full path to qmail-queue works or, setting QMAILQUEUE with a full path. Alternately, running bin/ls after a CD to / works. So, who knows, but, that's the way it is. Steve