Comment 38 for bug 407428

Revision history for this message
Jeremy Kerr (jk-ozlabs) wrote : Re: sshd zombie processes and strange behavior after karmic upgrade

The attached patch fixes the problem for me. From the patch comments:

External programs triggered by events (via RUN=) will inherit udev's
signal mask, which is set to block all but SIGALRM. For most utilities,
this is OK, but if we start daemons from RUN=, we run into trouble
(especially as SIGCHLD is blocked).

This change saves the original sigmask when udev starts, and restores it
just before we exec() the external command.

Signed-off-by: Jeremy Kerr <email address hidden>

I'm not a udev hacker, so not sure if this is the proper fix. I've sent it to linux-hotplug for comment.