← Back to issue list

Remove dangling symlink from JDK plugin

View original Github issue

Metadata

Project
snapcraft
Number
#761
Type
pull request
State
closed
Author
gnuoy
Labels
—
Created
Updated
Closed

Current evaluation

PR to strip a dangling cacerts symlink from the JDK plugin was closed unmerged twice for inactivity (Aug and Dec 2016); the jdk plugin was later deleted wholesale by merged PR #2376 (b556781ad).

Resolution: closed stale

Reason: sergiusens closed the PR on 2016-09-20 and again on 2016-12-23 (kyrofa) due to lack of activity, leaving the one-line change unmerged and the CAC-cert symlink question unanswered. The plugin it targeted was later removed entirely by merged PR #2376 (commit b556781ad, 'jdk plugin: remove jdk'), which rendered the change moot.

Evaluated by: mr-cal-bot

No scores available.

Issue body

Using the JDK plugin results in a dangling symlink which in turn causes lint-snap-v2_external_symlinks to fail: package contains external symlinks: usr/lib/jvm/java-8-openjdk-amd64/jre/lib/security/cacerts lint-snap-v2_external_symlinks This pull request removes the symlink from the snap LP Bug #1617296

Evaluation history

Date Model Scores Action Summary
stealth/space-bunny-alpha — closed stale PR to strip a dangling cacerts symlink from the JDK plugin was closed unmerged twice for inactivity (Aug and Dec 2016); the jdk plugin was later deleted wholesale by merged PR #2376 (b556781ad).
stealth/space-bunny-alpha — closed stale Closed unmerged after two inactivity closures; the JDK plugin symlink removal was not applied, leaving the CA-certificate path concern unresolved.
stealth/space-bunny-alpha — closed stale Closed unmerged as stale after unresolved CA-certificate concerns and failed reproduction. The +1/-0 symlink removal was never merged.
qwen/qwen3.6-35b-a3b — — Abandoned after reviewers questioned if removing the symlink would break CA certificate functionality. The author confirmed certs are still used but could not propose a fix. Another contributor could not reproduce the issue. Closed twice due to inactivity.
qwen3.6-35b-a3b-mtp-q6 — — Abandoned and closed due to inactivity. Maintainers questioned if removing the symlink would affect CA certificate availability and could not reproduce the reported dangling link. The proposed fix was never validated or merged.

Update history

No update history recorded yet.

Related work

  • Superseded By: snapcraft#2376 (confidence 88%)

    Merged PR deleting the jdk plugin outright (commit b556781ad, LP bug #1794788), making the symlink removal unnecessary.

  • Related To: snapcraft#2376 (confidence 70%)

    Same plugin lineage; removal shipped in the Snapcraft 3.0 release notes.

  • Related To: snapcraft#2453 (confidence 45%)

    Later PR (41facca0a) fixing JRE defaults in ant, maven and gradle plugins, the plugins that pulled in the JDK.

  • Related To: snapcraft#1145 (confidence 30%)

    Commit b5ab95268 'fix(remote-build): set a known path to cacerts' addresses the same cacerts path concern elsewhere in the codebase.

Related issues

Issue Project State Summary Similarity
#1905 Remove dangling symlink from JDK plugin (LP Bug #1617296) snapcraft closed Closed unmerged: the ca-certificates-java JDK-plugin workaround became unnecessary after the bases refactor; the legacy JDK plugin was later removed by #2376 (b556781ad).
86%
#1617296 The JDK plugin results in a dangling symlink snapcraft (launchpad) closed JDK plugin was removed in Snapcraft 3.x by snapcore/snapcraft#2376 (commit b556781ad), resolving the dangling-symlink issue by decommissioning the plugin.
72%