[LTP] [PATCH v2 1/1] kill11: Skip pipe-based core dumps per signal
Cyril Hrubis
chrubis@suse.cz
Tue Jul 14 10:43:00 CEST 2026
Hi!
> > 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.
Which would mean that the system this is failing on is mis-configured at
best. I've tested this on Leap 16.0 that uses systemd-coredump and
everything works fine there.
--
Cyril Hrubis
chrubis@suse.cz
More information about the ltp
mailing list