All of lore.kernel.org
 help / color / mirror / Atom feed
From: Greg KH <greg@kroah.com>
To: Kay Sievers <kay.sievers@vrfy.org>
Cc: linux-kernel <linux-kernel@vger.kernel.org>
Subject: Re: [PATCH] reboot: disable usermodehelper to prevent fs access
Date: Thu, 5 May 2011 13:27:58 -0700	[thread overview]
Message-ID: <20110505202758.GA12812@kroah.com> (raw)
In-Reply-To: <1304595126.1284.3.camel@zag>

On Thu, May 05, 2011 at 01:32:05PM +0200, Kay Sievers wrote:
> From: Kay Sievers <kay.sievers@vrfy.org>
> Subject: [PATCH] reboot: disable usermodehelper to prevent fs access
> 
> In case CONFIG_UEVENT_HELPER_PATH is not set to "", which it
> should be on every system, the kernel forks processes during
> shutdown, which try to access the rootfs, even when the
> binary does not exist. It causes exceptions and long delays in
> the disk driver, which gets read requests at the time it tries
> to shut down the disk.
> 
> This patch disables all kernel-forked processes during reboot to
> allow a clean poweroff.

Should this also be backported to the -stable kernels as people are
hitting this problem already today, right?

thanks,

greg k-h

  reply	other threads:[~2011-05-05 20:28 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-05-05 11:32 [PATCH] reboot: disable usermodehelper to prevent fs access Kay Sievers
2011-05-05 20:27 ` Greg KH [this message]
2011-05-06  1:15   ` Kay Sievers
2011-05-05 21:24 ` Valdis.Kletnieks
2011-05-05 21:34   ` Greg KH
2011-05-06  0:04     ` Valdis.Kletnieks
2011-05-06  1:07       ` Kay Sievers

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=20110505202758.GA12812@kroah.com \
    --to=greg@kroah.com \
    --cc=kay.sievers@vrfy.org \
    --cc=linux-kernel@vger.kernel.org \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.