Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 12 Dec 2020 19:28:36 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 251790] security/base-audit: incorrectly reports that 12.2p2 is vuln
Message-ID:  <bug-251790-7788-T3On6rQ0o2@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-251790-7788@https.bugs.freebsd.org/bugzilla/>
References:  <bug-251790-7788@https.bugs.freebsd.org/bugzilla/>

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

--- Comment #1 from Miroslav Lachman <000.fbsd@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=20

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 me=
tter
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` =3D 0 ]; then
        krnlv=3D$(freebsd-version -k | sed
's,^,FreeBSD-kernel-,;s,-RELEASE-p,_,;s,-RELEASE$,,')
        ${pkgcmd} audit $f $q $krnlv || { rc=3D$?; [ $rc -lt 3 ] && rc=3D3;=
 }
fi

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

--=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-251790-7788-T3On6rQ0o2>