Closed angelescuo closed 7 years ago
The kernel version was bumped. I'm doing a new package build now. T-Minus 40 hours till the package repo is published.
I have this same issue with this install:
root@marvin:~ # uname -a
FreeBSD marvin.lab.tilda.center 11.0-STABLE-HBSD FreeBSD 11.0-STABLE-HBSD #0 : Fri Mar 10 19:49:06 UTC 2017 root@updater-01:/usr/obj/usr/src/sys/HARDENEDBSD amd64
Compiling from ports doesn't help.
What does dmesg tell you when you try to run kldload secadm
?
[343] KLD secadm.ko: depends on kernel - not available or version mismatch
[343] linker_load_file: Unsupported file type
When you built from ports, did your /usr/src match your installed kernel?
/usr/src % git branch
* hardened/11-stable/master
Is that appropriate?
git fetch; git status
I did a --deph=1 clone, so that's going to take a while. Is it possible that shallow git clone is the cause?
Chances are that what's in /usr/src is newer than your installed kernel. You probably need to build/install world and kernel first.
OK, I'll write here once everything is installed how it went
It works after recompiling everything. Thank you!
I have installed last hbsd-11 in vbox. After installing secadm from packages I have added a valid rule and tryed to start secadm. Loading of secadm failed because secadm-kmod failed to register ( was built for another kernel) Cloned secadm frrom github, compiled and installed. secadm started succesfully after loaded built secadm-kmod.