Skip to content

fix: unbreak Unbound CI on Ubuntu 26 runners, pin libcurl 8.23.0-r0 - #786

Merged
foxly-it merged 1 commit into
mainfrom
fix/ci-ubuntu26-and-libcurl
Oct 30, 2026
Merged

foxly-it merged 1 commit into
mainfrom
fix/ci-ubuntu26-and-libcurl

Conversation

@foxly-it

Copy link
Copy Markdown
Owner

Was ändert dieser Pull Request?

Behebt die zwei Workflows, die auf main seit Tagen beim unveränderten Commit 9a097a1 rot sind:

Unbound CI (rot seit 2026-10-27): ubuntu-latest läuft inzwischen auf Ubuntu 26 mit neuerem Docker Engine. Dort fehlt das alte Top-Level-Feld .NetworkSettings.IPAddress in docker inspect, also bricht scripts/ci/dnssec-test-zone/setup.sh ab:

template parsing error: template: :1:18: executing "" at <.NetworkSettings.IPAddress>: map has no entry for key "IPAddress"

Die IP wird jetzt aus .NetworkSettings.Networks gelesen, wie inject.sh es schon tut. Das funktioniert mit alten und neuen Docker-Versionen. Wenn keine gültige IP zurückkommt, bricht das Skript mit einer klaren Meldung ab. Betroffen waren alle Aufrufer auf ubuntu-latest (ci-unbound, ci, clean-install, backup-restore, ci-adguard-compat, release-alpha). Die arm64-Jobs auf ubuntu-24.04-arm liefen weiter grün.

Nightly security scan (rot seit 2026-10-26, #784): Trivy stuft CVE-2026-92392 (libcurl, HTTP/2 upload use-after-free) als HIGH ein, betroffen ist das libcurl 8.22.0-r0 aus der Basis docker:29-cli in Core und Updater. Alpine 3.24 main liefert 8.23.0-r0 für x86_64 und aarch64. Der Pin folgt demselben Muster wie bei brotli-libs/libexpat, und check-alpine-pins.sh pflegt ihn automatisch mit.

Prüfung

  • git diff --check
  • Betroffene Tests ausgeführt – kein Linux/Docker lokal verfügbar, die CI dieses PRs ist der Test (Unbound CI, Core/Updater-Builds und Trivy-Scans)
  • Sichtbare Änderungen mit Screenshot dokumentiert – keine sichtbaren Änderungen
  • Dokumentation und Projektstatus bei Bedarf aktualisiert – nicht nötig

Hinweise

Keine. Nach dem Merge sollte der nächste Nightly-Scan #784 selbst schließen.

Verknüpftes Issue: #784

- setup.sh: read the split-DNS authority's IP from
  .NetworkSettings.Networks instead of the legacy top-level
  .NetworkSettings.IPAddress, which newer Docker Engine (ubuntu-latest
  now on Ubuntu 26) no longer returns - the template aborted with
  "map has no entry for key IPAddress", failing every caller since
  2026-10-27. Also fail loudly if no IP comes back.
- core/updater: pin libcurl 8.23.0-r0 for CVE-2026-92392 (HIGH) in
  the docker:29-cli base, the nightly scan's only finding (#784).
@foxly-it
foxly-it merged commit 8c40368 into main Oct 30, 2026
33 checks passed
@foxly-it
foxly-it deleted the fix/ci-ubuntu26-and-libcurl branch October 30, 2026 19:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant