[Bug 251790] security/base-audit: incorrectly reports that 12.2p2 is vuln

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Sat Dec 12 19:28:37 UTC 2020


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=251790

--- Comment #1 from Miroslav Lachman <000.fbsd at quip.cz> ---
(In reply to Dan Langille from comment #0)
Can you post separate output for kernel version and userland version tho be
sure which is which?
freebsd-version -u
freebsd-version -k 

I am not running 12.x so I cannot test it at teh moment.

I don't know what can be wrong in your case. Version mismatch should not metter
because kernel (version) and userland (version) are checked separately. Two
idependent commands with two results:



if [ -z "`echo "$pkgargs" | egrep '^-[cj]'`" -a `sysctl -n
security.jail.jailed` = 0 ]; then
        krnlv=$(freebsd-version -k | sed
's,^,FreeBSD-kernel-,;s,-RELEASE-p,_,;s,-RELEASE$,,')
        ${pkgcmd} audit $f $q $krnlv || { rc=$?; [ $rc -lt 3 ] && rc=3; }
fi

${pkgcmd} audit $f $q $usrlv || { rc=$?; [ $rc -lt 3 ] && rc=3; }

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


More information about the freebsd-ports-bugs mailing list