Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 03 Nov 2020 10:10:32 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 250828] kern.module_path does not include /boot/modules
Message-ID:  <bug-250828-227@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D250828

            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@FreeBSD.org
          Reporter: billblake2018@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=3D`sysctl -n kern.bootfile`
kerndir=3D`expr "$bootfile" : '\(.*\)/kernel$'`
sysctl kern.module_path=3D"$kerndir;/boot/modules"
unset bootfile kerndir

into my rc.local so that pefs would start normally.

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-250828-227>