Skip to content

Snap Store USN-8737-2: rebuild is enough (libc6 unpinned) - #32

Merged
dominicletz merged 2 commits into
mainfrom
cursor/snap-usn-8737-2-e0d8
Sep 11, 2026
Merged

dominicletz merged 2 commits into
mainfrom
cursor/snap-usn-8737-2-e0d8

Conversation

@dominicletz

@dominicletz dominicletz commented Sep 11, 2026

Copy link
Copy Markdown
Member

Summary

A Snap Store scan flagged libc6 in published diode-node revisions against USN-8737-2 (GNU C Library on Ubuntu 24.04 LTS, libc6 2.39-0ubuntu8.9).

A simple rebuild will fix this. No recipe change is required for the update to land.

Reviewed snap/snapcraft.yaml:

  • base: core24 matches noble (the USN-8737-2 release).
  • libc6 is listed in build-packages and stage-packages without a version pin.
  • There is no package-repositories block that would freeze the Ubuntu archive.

Snapcraft therefore pulls the current archive libc6 at build time. Rebuilding all architectures and releasing the new revisions (edge, then candidate/stable) resolves the scan.

libc6 stays in stage-packages on purpose: Snapcraft only stages packages that are explicitly listed; otherwise the snap would use core24's copy, which can lag the archive libc used when compiling Erlang/NIFs.

Vendored code called out in the Canonical mail (vendor/xmedialib, in-tree xturn, scripts/install_openssl.sh OpenSSL 1.1.1w) is unrelated to this glibc USN. No updates there for 8737-2.

Changes

  • Comment on staged libc6 so it is not version-pinned later.
  • test/snap/snapcraft_test.exs asserts core24, no package-repositories, and unpinned libc6 in both package lists.
  • CI runs that test with DIODE_MINIMAL_TEST=1 mix test --no-start.

After merge

Rebuild the snap (Launchpad / snapcraft.io) for amd64, arm64, ppc64el, s390x, and riscv64, then release the new revisions to edge and stable/candidate/beta.

Tests

DIODE_MINIMAL_TEST=1 mix test --no-start test/snap/snapcraft_test.exs

Standalone ExUnit run of that file: 3 passed.

Open in Web Open in Cursor 

The Snap Store scan flagged staged libc6 against USN-8737-2 (noble
2.39-0ubuntu8.9). snapcraft.yaml does not pin libc6 or freeze apt
sources, so no recipe change is required — rebuilding pulls the
patched archive package. Comment and tests lock that contract in.

Co-authored-by: Dominic Letz <dominicletz@users.noreply.github.com>
@dominicletz
dominicletz marked this pull request as ready for review September 11, 2026 13:42
Keep the libc6 USN rebuild contract covered on every PR.

Co-authored-by: Dominic Letz <dominicletz@users.noreply.github.com>
@dominicletz
dominicletz merged commit 84bf44b into main Sep 11, 2026
1 check passed
@dominicletz
dominicletz deleted the cursor/snap-usn-8737-2-e0d8 branch September 11, 2026 14:01
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.

2 participants