Re: [PATCH v2 1/1] kill11: Skip pipe-based core dumps per signal
Andrea Cervesato via ltp <[email protected]>
| Newsgroups | gmane.linux.ltp |
|---|---|
| Message-ID | <[email protected]> |
> Hi! > > > Well either we do that, or we skip the signals that dump core when we > > > are dumping into the pipe. > > > > To me it looks good to skip the signals which are not allowing child > > to be killed after coredump. It's a systemd feature we can't workaround > > in this case. > > Thinking of it once more, I wonder what exactly fails in the > systemd-coredump case. I guess that it may delay the test execution a > bit but the crashed process should eventualy quit and the test wait() > call should collect it. If that wasn't the case systemd-coredump would > break one of the fundamentals of UNIX process management. Let's forget about systemd for a second. The problem is that by using `pause()` that is not draining the buffer we never ends the piped user-space helper. The default behaviour for a piped helper is that kernel collect the coredump until helper drains the pipe. -- Andrea Cervesato SUSE QE Automation Engineer Linux andrea.cervesato-IBi9RG/[email protected] -- Mailing list info: https://lists.linux.it/listinfo/ltp