At least udev 104-r12 (and perhaps some earlier revisions of 104 as well) is extremely noisy upon loading, spewing a complaint that modules.dep can not be found at least 20 times. Please consider applying the patch below, which inhibits modprobe warnings by exiting from the modprobe.sh script as early as possible when a non-modular kernel is detected.
Created attachment 111192 [details, diff] udev-quiet-down.patch
This will make Uberlord angry, as it's bash-specific. ;o) Also, -f doesn't feel right. How about something like this: <snip> if [ ! -e /proc/modules ]; then # Running kernel does not have a module loader exit 0 fi </snip>
[ -f /proc/modules ] will work, as this IS a file. modprobe.sh is not so problematic with respect to bash, as it is not directly sourced from the shell executing /sbin/rc. Nevertheless we can convert it to bash (but at the moment there are more parts in it that are bash-specific).
Created attachment 111264 [details, diff] modprobe-104-r12.sh.diff mkay, how about this? ;)
Created attachment 111271 [details, diff] reincarnation of modprobe.sh fix This is my version of that patch. It finally adds quoting for sh-tests. Moved check for /proc/modules before loading /sbin/functions (discussable). Rename variable LAST to MODNAME (as this is the real-name of the loaded module, that is printed for the user).
Change applied to udev-105.ebuild.
*** Bug 171222 has been marked as a duplicate of this bug. ***
Backported the fix to udev-104-r12, to get it into 2007.0 release.
*** Bug 171237 has been marked as a duplicate of this bug. ***
*** Bug 183136 has been marked as a duplicate of this bug. ***