Red Hat Bugzilla – Bug 172422
main: action, subsystem or devpath missing
Last modified: 2007-11-30 17:11:16 EST
Description of problem:
The following messages appear in /var/log/messages when an input device
is connected or disconnected:
Nov 3 23:43:35 lembas udev: main: action, subsystem or devpath missing
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Run tail -f /var/log/messages
2. Plug in a USB keyboard
3. Unplug the keyboard
Sensible messages only
See also bug 169387 for RHEL 4 and bug 169103 for FC4.
The root cause is that drivers/input/input.c calls call_usermodehelper()
directly, instead of going through kobject_hotplug().
This should be fixed in kernel, but I am not quite sure how.
We are going to debate this with Greg and Vojtech, I suspect.
Harald, please do not reassign this bug to kernel component.
This bug is a request to plug the message specifically, because
if we hash out a solution to provide a valid devpath, this would
require additional testing to make sure that udev reacts right.
Sounds not really like a bug, more like upstream rebasing.
If you want wontfix this, it's fine.
The "input" layer is fixed in the current linus tree to integrate proper with
the driver core. That message will go away then. Anyway you should disable
/proc/sys/kernel/hotplug completely when you sync up to that kernel version.
Later udevd versions work with netlink only and don't accept /sbin/hotplug
/proc/sys/kernel/hotplug is completly disabled now.