← Back to issue list

ubuntu-desktop-installer LD_LIBRARY_PATH not defined anymore

View original Launchpad issue

Metadata

Project
snapcraft (launchpad)
Number
#2049617
Type
issue
State
open
Author
~seb128
Labels
Created
Updated
Closed

Current evaluation

Classic snap shell environment no longer sets LD_LIBRARY_PATH, possibly a snapcraft 8.0.1 regression. Untriaged, no maintainer engagement in 961 days.

Suggested action: needs triage

Reason: The issue has no labels, no maintainer response, no assignee, and 0 comments after 961 days. Per guidelines, untriaged issues should be marked needs_triage regardless of age. The LD_LIBRARY_PATH behavior for classic snaps needs maintainer assessment to determine if this is still a valid concern in current versions.

Impact: 60 Quick Win: 36.0 Staleness: 90 Complexity: 40 Confidence: 50 Support Request: 30

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
qwen3.6-35b-a3b-mtp-q6
Impact: 60
Quick Win: 36.0
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.
qwen3.6-35b-a3b-mtp-q6
Staleness: 95
Complexity: 40
Confidence: 65
Support Request: 5
needs triage Regression in snapcraft 8.0.1 where LD_LIBRARY_PATH is no longer set in classic snap shell environments, breaking the ubuntu-desktop-installer snap. Unaddressed for over two years with zero comments or labels.

Update history

No update history recorded yet.

Related issues

Issue Project State Summary Similarity
#1635 snap: remove leaking LD_LIBRARY_PATH snapcraft merged Removed leaking LD_LIBRARY_PATH from the snapcraft-classic wrapper, resolving Launchpad bug #1723208. The variable leaked into the environment, breaking snaps on distros like Trusty, and was redundant given existing rpaths. Approved and merged.
75%
#1992557 snapcraft remote-build snapcraft.yaml validation too strict snapcraft (launchpad) open snapcraft remote-build validation rejects empty LD_LIBRARY_PATH in environment, blocking some classic snaps. Issue is 4 years old with no maintainer engagement.
73%
#1975498 PATH/LD_LIBRARY_PATH not set in snapcraft 7.0 snapcraft (launchpad) closed Closed as a reported regression in snapcraft 7.0 where PATH and LD_LIBRARY_PATH are unset after dropping the snapcraft-runner wrapper. A manual workaround was provided.
72%
#1638405 libunity not added to LD_LIBRARY_PATH snapcraft (launchpad) open Snapcraft 2.20 wrapper script omits libunity from LD_LIBRARY_PATH on Launchpad buildd but not locally. No labels, no comments, no maintainer interaction in ~7.6 years. Current desktop extension explicitly adds libunity to LD_LIBRARY_PATH, making the original problem obsolete.
71%