Laura Smith: > > > To debug, run as root: > > > > strace -f -o output-file /usr/libexec/postfix/master -w > > > > and look for the process that is created after fork(). > > On stdout I get a few lines of : > strace: decode_nlattr: [xlat 0x...., dflt "AF_???", decoders 0x....] size is > zero (going to pass nla_type as decoder argument), but opaque data (0x....) > is not - will be ignored
strace reports trace info (and warnings) on STDERR not STDOUT. I asked you to capture THAT output in a file, with "-o output-file". > "fgrep fork output-file" doesn't produce any results ? LINUX has reimplemented fork() as something that calls clone(). In the strace output, look for line point where it logs a new process id. Something like this: clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD strace: Process 275086 attached , child_tidptr=0x7fde036a9850) = 275086 >From here on, strace output is prefixed with the process ID. Here, the process 275086 is the daemon initializes in the background. The other process is waits for the background daemon to report that it is ready. Of particular interest are the last handful events of both processes. Wietse