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: b...@freebsd.org
          Reporter: billblake2...@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.
_______________________________________________
freebsd-bugs@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"

Reply via email to