← Back to issue list

Having python3-netaddr as a stage package produces external symlink

View original Launchpad issue

Metadata

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

Current evaluation

Specifying python3-netaddr as a stage-package in snapcraft 2.42 yields symlinks pointing outside the snap (to /var/lib/...), while build-packages give relative symlinks. Unlabelled, zero comments, no maintainer activity in ~8 years.

Suggested action: needs triage

Reason: The issue has no labels, no comments, and no maintainer acknowledgement in ~8 years, so it has never been triaged; however, closing as stale is not justified without evidence the symlink behavior was fixed, since the reporter's complaint concerns general stage-package handling that may still apply to modern snapcraft. A maintainer should verify whether the /var/lib/... symlink problem is still reproducible on a current base (core22/core24) before deciding to close or fix.

Impact: 35 Quick Win: 21.0 Staleness: 95 Complexity: 40 Confidence: 55 Support Request: 10

Issue body

I you specify python3-netaddr as a stage-package in your snapcraft.yaml, the result snap will contain symlinks that point outside the snap, i.e to /var/lib/... However, if you already have python3-netaddr installed, or specify it as a build package, the same symlinks will be relative, and point to ../../../../../var/lib/... I don't see why specifying python3-netaddr as a stage-package shouldn't work out of the box. This is with snapcraft 2.42

Evaluation history

Date Model Scores Action Summary
qwen/qwen3.8-27b
Impact: 35
Quick Win: 21.0
Staleness: 95
Complexity: 40
Confidence: 55
Support Request: 10
needs triage Specifying python3-netaddr as a stage-package in snapcraft 2.42 yields symlinks pointing outside the snap (to /var/lib/...), while build-packages give relative symlinks. Unlabelled, zero comments, no maintainer activity in ~8 years.
qwen/qwen3.6-35b-a3b
Staleness: 98
Complexity: 45
Confidence: 90
Support Request: 15
close stale Reports external symlinks when staging python3-netaddr in snapcraft 2.42. No maintainer response, inactive for ~8 years, and references a severely outdated snapcraft version.
qwen/qwen3.6-35b-a3b
Staleness: 98
Complexity: 45
Confidence: 90
Support Request: 10
close stale Reports symlinks pointing outside the snap when python3-netaddr is staged. No activity for 8 years, reported against snapcraft 2.42.
qwen3.6-35b-a3b-mtp-q6
Staleness: 98
Complexity: 45
Confidence: 90
Support Request: 10
close stale Reports symlinks pointing outside the snap when python3-netaddr is used as a stage-package in snapcraft 2.42. Issue is 8 years old with no activity or maintainer response.
qwen3.6-35b-a3b-mtp-q6
Staleness: 98
Complexity: 45
Confidence: 90
Support Request: 15
close stale Bug report stating that staging python3-netaddr in snapcraft v2.42 creates absolute symlinks pointing outside the snap, unlike build packages. No maintainer response or activity since 2018.

Update history

No update history recorded yet.

Related issues

No related issues found above the similarity threshold.