I wrote a simple C application (in core_app.c) to process a coredump:int main(int argc, char *argv[]) {    FILE *fp = fopen(/tmp/coretest, w);    char input[MAX_INPUT];    // write a coredump to /tmp/coretest    if (fp != 0) {        while (fgets(input, MAX_INPUT, stdin)) {            fputs(input, fp);        }        fclose(fp);    } else {        perror([FMon] cannot open file!);    }    return EXIT_SUCCESS;}and then I set the core_pattern using a systemd service which contains:[Service]ExecStart=/bin/sh -c echo '| core_app' > /proc/sys/kernel/core_patternAfter a reset the content of the file /proc/sys/kernel/core_pattern is correct. But the syslog shows:Jan 01 00:19:52 kernel: Core dump to | core_app pipe failedAnybody knows why the pipe failed?Thanks
How to pipe Coredump to a custom application?
systemd;core dump