mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Stelian Pop <stelian@popies.net>
To: Rusty Russell <rusty@rustcorp.com.au>
Cc: Linux Kernel Mailing List <linux-kernel@vger.kernel.org>
Subject: modutils: FATAL: Error running install...
Date: Mon, 24 Feb 2003 17:16:27 +0100	[thread overview]
Message-ID: <20030224171627.B29439@deep-space-9.dsnet> (raw)

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
triggered with
	# cat /dev/fd0
where the corresponding line in modprobe.conf is:
	install block-major-2 /bin/true

The problem is reproductible with any 'install' command in
modprobe.conf.

Looking at modprobe source, it fails on the system() call. The
fork()/exec() part works corectly (/bin/true get executed),
but wait4() fails with -ECHILD.

Running 'modprobe block-major-2' from the console works as 
expected.

I believe this is once again related to the exec_usermodehelper()
routines...

Stelian.
-- 
Stelian Pop <stelian@popies.net>

             reply	other threads:[~2003-02-24 16:06 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-02-24 16:16 Stelian Pop [this message]
2003-02-24 16:27 ` Stelian Pop
2003-02-25  1:27   ` Rusty Russell
2003-02-25 13:24     ` Mikael Pettersson

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20030224171627.B29439@deep-space-9.dsnet \
    --to=stelian@popies.net \
    --cc=linux-kernel@vger.kernel.org \
    --cc=rusty@rustcorp.com.au \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®