Blob Blame History Raw
From 1e886090cefe26113122a7d59a36a9aec492fef5 Mon Sep 17 00:00:00 2001
From: Rasmus Villemoes <linux@rasmusvillemoes.dk>
Date: Tue, 20 Apr 2021 14:06:38 +0200
Subject: [PATCH] docs: admin-guide: update description for kernel.hotplug
 sysctl
Git-commit: 1e886090cefe26113122a7d59a36a9aec492fef5
References: git-fixes
Patch-mainline: v5.14-rc1

It's been a few releases since this defaulted to /sbin/hotplug. Update
the text, and include pointers to the two CONFIG_UEVENT_HELPER{,_PATH}
config knobs whose help text could provide more info, but also hint
that the user probably doesn't need to care at all.

Fixes: 7934779a69f1 ("Driver-Core: disable /sbin/hotplug by default")
Signed-off-by: Rasmus Villemoes <linux@rasmusvillemoes.dk>
Link: https://lore.kernel.org/r/20210420120638.1104016-1-linux@rasmusvillemoes.dk
Signed-off-by: Jonathan Corbet <corbet@lwn.net>
Signed-off-by: Oliver Neukum <oneukum@suse.com>
---
 Documentation/admin-guide/sysctl/kernel.rst |    7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

--- a/Documentation/admin-guide/sysctl/kernel.rst
+++ b/Documentation/admin-guide/sysctl/kernel.rst
@@ -335,7 +335,12 @@ hotplug:
 ========
 
 Path for the hotplug policy agent.
-Default value is "/sbin/hotplug".
+Default value is ``CONFIG_UEVENT_HELPER_PATH``, which in turn defaults
+to the empty string.
+
+This file only exists when ``CONFIG_UEVENT_HELPER`` is enabled. Most
+modern systems rely exclusively on the netlink-based uevent source and
+don't need this.
 
 
 hung_task_panic: