Michael Wood schrieb:
Does this work for you?
[..]

YES, it does!

# cat /proc/sys/kernel/core_pattern
/var/log/coredumps/core.%e.%p

# ulimit -c
0

# cat abort.c
#include <stdlib.h>
int main()
{
  abort();
}

# gcc -o abort abort.c

# ./abort
Aborted

# ulimit -H -c unlimited
# ulimit -S -c unlimited
# ulimit -c
unlimited

# ./abort
Aborted (core dumped)

# ls -l /var/log/coredumps/core.abort.25679
-rw------- 1 root root 163840 2009-10-30 12:11 
/var/log/coredumps/core.abort.25679

Ralph

--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba

Reply via email to