Re: modutils: FATAL: Error running install...

Stelian Pop (stelian@popies.net)
Mon, 24 Feb 2003 17:27:34 +0100


On Mon, Feb 24, 2003 at 05:16:27PM +0100, Stelian Pop wrote:

> With the latest 2.5-bk (and module-init-tools), my logs
> are polluted with lines like:
> FATAL: Error running install command for block_major_2

And replying to my own message after reading the latest posts
on lkml, I confirm that Mikael Pettersson's patch works for me.

I rediffed it below against the latest bk.

Linus, please apply.

Stelian.

===== kernel/kmod.c 1.24 vs edited =====
--- 1.24/kernel/kmod.c Mon Feb 24 04:18:09 2003
+++ edited/kernel/kmod.c Mon Feb 24 17:19:39 2003
@@ -154,6 +154,7 @@

/* Unblock all signals. */
flush_signals(current);
+ current->sighand->action[SIGCHLD-1].sa.sa_handler = SIG_DFL;
spin_lock_irq(&current->sighand->siglock);
flush_signal_handlers(current);
sigemptyset(&current->blocked);

-- 
Stelian Pop <stelian@popies.net>
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/