ubuntu-desktop-installer LD_LIBRARY_PATH not defined anymore
Metadata
Current evaluation
Snapcraft 8 stopped injecting LD_LIBRARY_PATH into classic snaps, breaking ubuntu-desktop-installer rebuilds; the change is intentional, but a compatibility opt-in remains unresolved.
Suggested action: keep open
Reason: The reporter provided an exact comparison showing a recent build had no LD_* variables while the reverted stable revision had LD_LIBRARY_PATH, and commit 9b6e58337 confirms the intentional 8.x change. A maintainer explained the host-library safety rationale, while the reporter's valid compatibility concern and request for an opt-in remain unanswered.
Evaluated by: mr-cal-bot
Impact:
48
Quick Win:
13
Complexity:
61
Confidence:
95
Actionability:
71
Issue body
Perhaps a 8.0.1 regression but our desktop installer snap (which is classic) stopped working, getting into the shell environment LD_LIBRARY_PATH isn't set anymore.
For reference our source is on https://github.com/canonical/ubuntu-desktop-installer/blob/main/snap/snapcraft.yaml
A 10 days old build didn't have the issue so maybe a 8.0.1 regression?
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| stealth/space-bunny-alpha |
Impact:
48
Quick Win:
13
Complexity:
61
Confidence:
95
Actionability:
71
|
keep open | Snapcraft 8 stopped injecting LD_LIBRARY_PATH into classic snaps, breaking ubuntu-desktop-installer rebuilds; the change is intentional, but a compatibility opt-in remains unresolved. | |
| stealth/space-bunny-alpha |
Impact:
48
Quick Win:
12
Complexity:
64
Confidence:
94
Actionability:
72
|
keep open | Snapcraft 8 intentionally stopped injecting LD_LIBRARY_PATH into classic snaps, breaking rebuilds that relied on the old behavior; a compatibility opt-in remains unresolved. | |
| stealth/space-bunny-alpha |
Impact:
66
Quick Win:
30
Complexity:
34
Confidence:
88
Actionability:
68
|
needs triage | Classic ubuntu-desktop-installer snap no longer receives LD_LIBRARY_PATH, possibly following Snapcraft 8.0.1; likely a known regression with no maintainer response | |
| qwen3.6-35b-a3b-mtp-q6 |
Impact:
60
Quick Win:
36
Staleness:
90
Complexity:
40
Confidence:
50
Support Request:
30
|
needs triage | Classic snap shell environment no longer sets LD_LIBRARY_PATH, possibly a snapcraft 8.0.1 regression. Untriaged, no maintainer engagement in 961 days. | |
| qwen/qwen3.6-35b-a3b |
Staleness:
95
Complexity:
40
Confidence:
70
Support Request:
10
|
needs triage | Reports LD_LIBRARY_PATH missing in snapcraft 8.0.1+ for a classic snap. Untriaged, zero comments, inactive for over two years. | |
| qwen/qwen3.6-35b-a3b |
Staleness:
95
Complexity:
30
Confidence:
85
Support Request:
10
|
needs triage | Reports LD_LIBRARY_PATH missing in snapcraft 8.0.1 shell environment, breaking the ubuntu-desktop-installer snap. Unlabelled, zero comments, inactive for ~2.5 years. | |
| qwen3.6-35b-a3b-mtp-q6 |
Staleness:
95
Complexity:
20
Confidence:
65
Support Request:
10
|
needs triage | Reports a potential snapcraft 8.0.1 regression where LD_LIBRARY_PATH is no longer set in classic snap environments. Unlabelled, no maintainer response, inactive for ~2.5 years. |
Update history
| Date | Change |
|---|---|
| created |
Related work
-
Caused By:
canonical/snapcraft#4216
(confidence 99%)
Merged commit 9b6e58337 intentionally omits top-level LD_LIBRARY_PATH and PATH for classic confinement, matching the reported regression.
Related issues
| Issue | Project | State | Summary | Similarity |
|---|---|---|---|---|
| #2128 project_loader: stop setting LD_LIBRARY_PATH | snapcraft | closed | Closed unmerged in #2128 as unnecessary after the last known Trusty classic-snap user moved to Xenial; no code was changed. | |
| #1486623 LD_LIBRARY_PATH hardcoded at snap creation time -- RPATH | snapcraft (launchpad) | closed | Hardcoded LD_LIBRARY_PATH behavior was declared obsolete: a maintainer said in 2023 that it no longer applies to core22; discussion had moved to canonical/snapcraft#38. | |
| #1635 snap: remove leaking LD_LIBRARY_PATH | snapcraft | merged | Merged as da9181487: PR #1635 removed LD_LIBRARY_PATH leakage from snapcraft-classic, fixing LP #1723208 and preventing breakage on hosts such as Trusty. |