Some symlinks not properly fixed up
Metadata
Current evaluation
Closed as stale in September 2017 after the reporter could not reproduce the problem; no Snapcraft fix was identified.
Resolution: closed stale
Reason: The author closed the report after being unable to reproduce it. The last maintainer comment said Snapcraft was not expected to inspect the stage package deeply enough to rewrite the external symlink, and no resolving change was linked.
Evaluated by: mr-cal-bot
No scores available.
Issue body
Heya,
We have this elasticsearch-smb snap which uses a part to pull a JRE (default-jre-headless); the snap then has an error in snap package review in the store due to an absolute symlink that doesn't get fixed up by snapcraft during the build.
Link to LP snap build:
https://code.launchpad.net/~smb-dev/+snap/elasticsearch/
snapcraft.yaml:
https://git.launchpad.net/~smb-dev/+git/elastic-snap/tree/snapcraft.yaml?id=4121703777afc959fee8e967d01f34ff047f23d5
Store review error:
package contains external symlinks: usr/lib/jvm/java-8-openjdk-amd64/jre/lib/security/cacerts
Jamie tells me he recently sent a patch to address a similar issue:
00:06 < jdstrand> lool: it used to always be (that is how I know that the ssl doesn't work), but a recent package I did had snapcraft fixing
it up. please file a bug
Thanks!
- Loïc
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| stealth/space-bunny-alpha | — | closed stale | Closed as stale in September 2017 after the reporter could not reproduce the problem; no Snapcraft fix was identified. | |
| stealth/space-bunny-alpha | — | closed stale | Closed without a fix after the reporter could not reproduce it; investigation indicated Snapcraft did not inspect the relevant stage package deeply enough to rewrite its external symlink. | |
| stealth/space-bunny-alpha | — | closed stale | Reported Snapcraft did not rewrite an absolute JRE cacerts symlink, causing store rejection; closed without comments or a linked fix. | |
| qwen/qwen3.6-35b-a3b | — | — | Abandoned. Snapcraft failed to fix absolute symlinks during builds, causing store review errors. Zero comments and no patches indicate no resolution was reached. | |
| qwen/qwen3.6-35b-a3b | — | — | Abandoned. Closed without comments or resolution. The snapcraft build failure caused by unpatched absolute symlinks remains unresolved, with no fix implemented. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | Abandoned; reported snapcraft absolute symlink fix-up issue closed without resolution. |
Update history
| Date | Change |
|---|---|
| created |
Related work
-
Duplicate Of:
snapcraft (launchpad)#1500505
(confidence 62%)
Earlier report concerned dangling external symlinks, including Java cacerts, but was also closed without a linked fix.
Related issues
| Issue | Project | State | Summary | Similarity |
|---|---|---|---|---|
| #539 Part dependency names not validated | craft-parts | closed | Closed as stale without a documented fix; the linked Launchpad snapcraft bug #2033882 was also abandoned. | |
| #1500505 snapcraft produces snaps with dangling external symlinks | snapcraft (launchpad) | closed | Closed without a linked fix; libc symlinks were to be whitelisted in click-review-tools, but Java cacerts still required unpacking and manually replacing the link. | |
| #1853682 an error occurred in snapcraft | snapcraft (launchpad) | closed | Closed as stale without a linked fix. The original 2.43.1 crash was later guarded in snapcraft/snapcraft#5728; later 4.7.1 comments reported a separate apt-cache failure. | |
| #1744921 parent-relative symlinks error with sshfs | snapcraft (launchpad) | closed | Linked PR canonical/snapcraft#1900 proposed custom symlink copying, but it was closed unmerged after review questioned the rewrite; no merged fix is recorded. | |
| #1910298 ~/snap directory should be o0700 | snapcraft (launchpad) | closed | Closed as stale without a final documented fix; snapcraft-desktop-helpers PR #218 was merged, while broader snapd remediation remained in PRs #9897 and #10992. | |
| #1694515 Obsolete URL reported when using 'snapcraft push' | snapcraft (launchpad) | closed | Closed without a Snapcraft fix; the maintainer said the stale URL came from the store and redirected the report to forum.snapcraft.io. |