On Fri, Oct 27, 2006 at 06:58:37PM +0200, Armin Berres wrote:
> >>clone(child_stack=0, 
> >>flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD,
> >>  child_tidptr=0x4001cba8) = 19479
> >  yes the *daemon* _forks_ in the background.
> >  what surprises you ? moreover it logs things in /var/log/mail.log 
> >so…
> >>--- SIGCHLD (Child exited) @ 0 (0) ---
> 
> This surprised me, I'm not very familiar with reading traces, but it
> looked, like a terminated child. Not sure...
> 
> The problem is: There is no running child process!
> Maybe I'm wrong, but:
> 
> space-based:/# ps ax | grep whitelister
> 14016 pts/0    R+     0:00 grep whitelister
> space-based:/# rm /var/run/whitelister.pid
> space-based:/# /etc/init.d/whitelister start
> Starting postfix whitelister daemon: whitelister.
> space-based:/# ps ax | grep whitelister
> 14097 pts/0    S+     0:00 grep whitelister
> space-based:/# cat /var/run/whitelister.pid
> 14056
> space-based:/# ps > /var/run/whitelister.pid
> space-based:/# /etc/init.d/whitelister start
> Starting postfix whitelister daemon: whitelister.
> space-based:/# /etc/init.d/whitelister start
> Starting postfix whitelister daemon: whitelister.
> space-based:/# /etc/init.d/whitelister start
> Starting postfix whitelister daemon: whitelister.
> 
> Maybe I'm missing something, but this looks a bit weird.
> And I find nothing in mail.log :-(

  I would need a trace following forks then, yours is useless as it
traces the father. please run
  strace -f -F -s 256 -o trace whitelister
as root and send it as an attachement to the bug report please.

  thanks.


-- 
·O·  Pierre Habouzit
··O                                                [EMAIL PROTECTED]
OOO                                                http://www.madism.org

Attachment: pgphKCENaUyzj.pgp
Description: PGP signature

Reply via email to