[Bug 250828] kern.module_path does not include /boot/modules
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Tue Nov 3 10:10:33 UTC 2020
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=250828
Bug ID: 250828
Summary: kern.module_path does not include /boot/modules
Product: Base System
Version: 12.2-RELEASE
Hardware: Any
OS: Any
Status: New
Severity: Affects Only Me
Priority: ---
Component: kern
Assignee: bugs at FreeBSD.org
Reporter: billblake2018 at gmail.com
I use pefs for disk encryption. The pefs port puts the kernel module into
/boot/modules; presumably, that is correct behavior. However, the standard
kern.module_path does not include /boot/modules. I ended up sticking
bootfile=`sysctl -n kern.bootfile`
kerndir=`expr "$bootfile" : '\(.*\)/kernel$'`
sysctl kern.module_path="$kerndir;/boot/modules"
unset bootfile kerndir
into my rc.local so that pefs would start normally.
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-bugs
mailing list