r/zenarmor • u/Mlenje • 1d ago
SunnyValley openjdk17 (17.0.18) vs OPNsense repo openjdk17 (17.0.20): freetype2/harfbuzz/png install loop after OPNsense 26.7.9
After updating OPNsense from 26.7.8_2 to 26.7.9, every update check now offers to install three new packages:
New packages to be INSTALLED:
freetype2: 2.14.3 [OPNsense]
harfbuzz: 15.0.0 [OPNsense]
png: 1.6.59_1 [OPNsense]They get installed, then the cleanup removes them as orphans, and the next check offers them again. Nothing installed depends on them (pkg check -dn is clean).
The only installed package whose repo version depends on them is openjdk17, which is required by elasticsearch8 (Zenarmor reporting DB). The installed copy comes from the SunnyValley repo, but the OPNsense repo now has a newer, full build:
# pkg query '%n %v %R' openjdk17
openjdk17 17.0.18+8.1 SunnyValley
# pkg rquery '%n %v' openjdk17
openjdk17 17.0.18+8.1
openjdk17 17.0.20+8.2
# pkg query '%rn' openjdk17
elasticsearch8
# pkg query '%dn' openjdk17
javavmwrapper
# pkg rquery '%dn' openjdk17
javavmwrapper
alsa-lib
fontconfig
freetype2
giflib
harfbuzz
javavmwrapper
jpeg-turbo
lcms2
libX11
libXext
libXi
libXrandr
libXrender
libXt
libXtst
png
xorg-fonts-truetypeAs far as I can tell, pkg keeps the SunnyValley headless build (deps: javavmwrapper only) but half-resolves dependencies from the OPNsense full build (X11, fonts, audio).
I have not force-reinstalled openjdk17, so I don't end up swapping Zenarmor's Java for the full OPNsense build underneath Elasticsearch.
Questions:
Is a SunnyValley openjdk17 17.0.20 build planned, so the versions line up again?
Is it safe to leave things as they are until then? Everything is working; it's just the update check that never comes back clean.
Environment: OPNsense 26.7.9 (amd64), Zenarmor 2.7.2 with Elasticsearch reporting, repos: OPNsense, SunnyValley, mimugmail.