← Back to issue list

Support core path in classic snaps for library paths

View original Launchpad issue

Metadata

Project
snapcraft (launchpad)
Number
#1656187
Type
issue
State
closed
Author
~sergiusens
Labels
—
Created
Updated
Closed

Current evaluation

Classic-snap core library path support was delivered by merged PR #1047 in commit 6276bca73, including wrapper LD_LIBRARY_PATH handling using /snap/core/current.

Resolution: closed resolved

Reason: The requested wrapper behavior was implemented and merged in canonical/snapcraft PR #1047, recorded as commit 6276bca73. The maintainer linked that PR as the resolution.

Evaluated by: mr-cal-bot

No scores available.

Issue body

When setting up the wrappers we need a mechanism so that LD_LIBRARY_PATH if set is set to not consume externally and use /snap/core/current as the alternate root.

Evaluation history

Date Model Scores Action Summary
stealth/space-bunny-alpha — closed resolved Classic-snap core library path support was delivered by merged PR #1047 in commit 6276bca73, including wrapper LD_LIBRARY_PATH handling using /snap/core/current.
stealth/space-bunny-alpha — closed resolved Classic-snap wrapper support for core library paths was added by merged PR #1047 in commit 6276bca73.
stealth/space-bunny-alpha — closed resolved Implemented by merged PR #1047 (commit 6276bca73): classic-snap wrappers use /snap/core/current for core libraries, avoiding host LD_LIBRARY_PATH leakage.
stealth/space-bunny-alpha — closed resolved Classic-snap core-library path support was implemented by merged PR #1047 (commit 6276bca73), adding /snap/core/current-based library path handling for wrappers.
qwen/qwen3.6-35b-a3b — — Abandoned. Closed without implementation or merge. The request to configure LD_LIBRARY_PATH routing via /snap/core/current for classic snaps was not addressed.
qwen/qwen3.6-35b-a3b — — Closed without implementation. The requested LD_LIBRARY_PATH restriction for classic snap wrappers was abandoned or superseded by newer snapd architecture. No resolution or merge occurred.
qwen/qwen3.6-35b-a3b — — The feature request to isolate LD_LIBRARY_PATH via /snap/core/current for classic snaps was closed without comments. It appears abandoned or superseded by newer snap packaging approaches, as no code changes or resolution were applied.
qwen/qwen3.6-35b-a3b — — Closed without resolution or comments, indicating the feature request was abandoned. No implementation, fix, or merge details were provided.
qwen3.6-35b-a3b-mtp-q6 — — Closed without implementation. The request to configure LD_LIBRARY_PATH for classic snap wrappers using /snap/core/current as an alternate root was abandoned due to inactivity and zero comments.

Update history

Date Change
created

Related work

  • Likely Fixed By: canonical/snapcraft#1047 (confidence 100%)

    Merged PR adding core-library metadata support and wrapper LD_LIBRARY_PATH handling for /snap/core/current.

Related issues

Issue Project State Summary Similarity
#1047 meta: support core libraries snapcraft merged Merged PR #1047 as commit 6276bca73, adding metadata support for core libraries and wrapper LD_LIBRARY_PATH handling using /snap/core/current.
78%
#949 project: support building classic snaps snapcraft merged Merged PR #949 in commit 058f5626d, adding classic-snap build support and core-snap path configuration.
76%
#1647699 Support classic building in snapcraft snapcraft (launchpad) closed Classic-snap builds were implemented by merged snapcore/snapcraft#949 (commit 058f5626d), resolving libraries from the core/base snap.
74%
#4187 Environment is being set for classic snaps snapcraft closed Classic-confinement snaps no longer receive top-level LD_LIBRARY_PATH and PATH; fixed by merged PR #4216 in commit 9b6e58337.
72%
#4807 fix: do not load system libraries for classic core24 snaps snapcraft closed PR #4807 was closed in favor of #4809, which merged commit 5493a5f91 and shipped in Snapcraft 8.2.8; classic core24 snaps now use patchelf --no-default-libs.
71%
#1039 Check the older ubuntu-core snap name for core dynamic linker. snapcraft closed Closed unmerged after maintainers chose migration from deprecated ubuntu-core to core. The proper classic-snaps setup landed in PR #1112 via commit 49b39ef9a.
70%