* Driver-Core: disable /sbin/hotplug by default
@ 2010-01-14 21:49 Kay Sievers
0 siblings, 0 replies; only message in thread
From: Kay Sievers @ 2010-01-14 21:49 UTC (permalink / raw)
To: Greg KH; +Cc: linux-kernel
From: Kay Sievers <kay.sievers@vrfy.org>
Subject: Driver-Core: disable /sbin/hotplug by default
No recent mainstream system uses the /sbin/hotplug fork-bomb any more.
Disable it by default to reflect how it is used these days.
Signed-off-by: Kay Sievers <kay.sievers@vrfy.org>
---
drivers/base/Kconfig | 10 +++++++++-
1 file changed, 9 insertions(+), 1 deletion(-)
--- a/drivers/base/Kconfig
+++ b/drivers/base/Kconfig
@@ -3,10 +3,18 @@ menu "Generic Driver Options"
config UEVENT_HELPER_PATH
string "path to uevent helper"
depends on HOTPLUG
- default "/sbin/hotplug"
+ default ""
help
Path to uevent helper program forked by the kernel for
every uevent.
+ Before the switch to the netlink-based uevent source, this was
+ used to hook hotplug scripts into kernel device events. It
+ usually pointed to a shell script at /sbin/hotplug.
+ This should not be used today, because usual systems create
+ many events at bootup or device discovery in a very short time
+ frame. One forked process per event can create so many processes
+ that it creates a high system load, or on smaller systems
+ it is known to create out-of-memory situations during bootup.
config DEVTMPFS
bool "Maintain a devtmpfs filesystem to mount at /dev"
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2010-01-14 21:49 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-01-14 21:49 Driver-Core: disable /sbin/hotplug by default Kay Sievers
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox