module_path

Gustavo A. Baratto gbaratto at superb.net
Mon Nov 22 18:41:48 PST 2004


hello there,

Since I have seen it in the errata, here it goes:

I have upgraded from 5.1 to 5.3, and the newly installed 
/boot/defaults/loader.conf has this set:
module_path="/boot/modules"

so, whenever I try to load ipfw or ipf, or even use kldload, I get this 
error:
---
/etc/rc.d/ipfw start
kldload: can't load ipfw: No such file or directory
/etc/rc.d/ipfw: WARNING: unable to load firewall module.
---

# sysctl kern.module_path
kern.module_path: /boot/modules

I know that I can override that by adding module_path="/boot/kernel" in 
/boot/loader.conf, but I think the default file should be fixed to add at 
least /boot/kernel, right?

cheers 



More information about the freebsd-current mailing list