Just got bit by this little code in /etc/rc.sysinit on RH 8.0.92:
if ! grep -iq nomodules /proc/cmdline 2>/dev/null && [ -f /proc/ksyms ]; then
USEMODULES=y
fi
...
if [ -f /proc/sys/kernel/modprobe ]; then
if [ -n "$USEMODULES" ]; then
sysctl -w kernel.modprobe="/sbin/modprobe" >/dev/null 2>&1
sysctl -w kernel.hotplug="/sbin/hotplug" >/dev/null 2>&1
else
# We used to set this to NULL, but that causes 'failed to exec' messages"
sysctl -w kernel.modprobe="/bin/true" >/dev/null 2>&1
sysctl -w kernel.hotplug="/bin/true" >/dev/null 2>&1
fi
fi
Easy enough to work around, once you know about it. I noticed this trying to
figure out why iptables was working when the filters were built into the
kernel, but not as modules.
Hopefully this will save somebody else debugging time and/or eventually
produce a patch for rc.sysinit....
-- Valdis Kletnieks Computer Systems Senior Engineer Virginia Tech
--==_Exmh_-331814880P Content-Type: application/pgp-signature
-----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (GNU/Linux) Comment: Exmh version 2.5 07/13/2001
iD8DBQE+IeBkcC3lWbTT17ARAgewAJ9pmjvKJjiVg03fk7RXRCbm+GlQMgCdEJU1 uj34I72J7dkDTQDNmxiyeLI= =FapB -----END PGP SIGNATURE-----
--==_Exmh_-331814880P-- - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/