Michelle Konzack wrote:
Am 2004-05-25 10:04:38, schrieb Alessandro Vesely:
cannot fail. Can you reproduce the failure running the program by itself?
yes
If that's possible, truss can reveal what's going on.
Sorry, I said truss but I meant strace. If you run a line like
strace -f -o dump courierfilter start
you'll get a "dump" file where system calls are traced, e.g.
[...]
12321 close(3) = 0
12321 open("/dev/null", O_RDONLY) = 3
12321 pipe([5, 6]) = 0
12321 close(3) = 0
This way, we know which is the failing instruction. Probably the open,
but is it failing because it's not 3 or just cannot open /dev/null?
So I have forgoten an to activate a kernel option...
But which ?
I don't compile my kernels, so I don't know if it is an option to
allocate low numbered fd's first or to open character devices...