Am 13.08.2013 12:36, schrieb Richard W.M. Jones:
> On Mon, Aug 12, 2013 at 09:53:00AM +0100, Richard W.M. Jones wrote:
>> On Mon, Aug 12, 2013 at 10:15:24AM +0200, richard -rw- weinberger wrote:
>>> Found the root cause, patch is on the way.
>> I can test patches if you CC me on them.
> I'm still available to test patches :-) Didn't see anything on
> this list nor on LKML.
I'm currently on the road...
> In particular I'm having a problem where it looks as if vmlinux is
> sending a signal to its parent process on shutdown.
If so, why does it not kill my shell if I run it directly?
> I can reliably reproduce this, although not with anything very
> minimal. But if you run the libguestfs test suite like this you'll
> see it:
> make -C tests/regressions check TESTS=rhbz914931
> The parent process (a C program which for unrelated reasons is called
> 'rhbz914931') receives a SIGTERM. I checked the siginfo struct for
> this signal, and it appears to come from the vmlinux main process,
> which should not be happening.
> So .. possibly there's something awry with how vmlinux delivers
> signals to its child processes on shutdown which is causing it both to
> miss out some children, and to kill other unrelated processes. Or
> maybe this is just a coincidence.