← Back to issue list

--shell does not make snapcraftctl available

View original Launchpad issue

Metadata

Project
snapcraft (launchpad)
Number
#1848732
Type
issue
State
open
Author
~racb
Labels
—
Created
Updated
Closed
—

Current evaluation

--shell and --shell-after reportedly omit snapcraftctl from the build environment; current packaging includes a compatibility wrapper, but the unversioned report remains untriaged.

Suggested action: needs triage

Reason: The report provides a clear failing command, and two later comments confirm the problem for --shell-after and lifecycle-handler debugging, but there are no maintainer responses, labels, affected versions, or links to a resolving change. Current packaging places a snapcraftctl compatibility wrapper under libexec/snapcraft and includes that directory in PATH, so maintainers should reproduce against the relevant Snapcraft/base versions before deciding whether it is fixed.

Evaluated by: mr-cal-bot

Impact: 38 Quick Win: 18 Complexity: 30 Confidence: 78 Actionability: 67

Issue body

$ snapcraft pull --use-lxd --shell acme To debug my override-pull. Expected: "snapcraftctl pull" works. Actual: # snapcraftctl pull bash: snapcraftctl: command not found

Evaluation history

Date Model Scores Action Summary
stealth/space-bunny-alpha
Impact: 38
Quick Win: 18
Complexity: 30
Confidence: 78
Actionability: 67
needs triage --shell and --shell-after reportedly omit snapcraftctl from the build environment; current packaging includes a compatibility wrapper, but the unversioned report remains untriaged.
stealth/space-bunny-alpha
Impact: 30
Quick Win: 14
Complexity: 32
Confidence: 85
Actionability: 68
needs triage Interactive build shells omit snapcraftctl from PATH, blocking manual scriptlet debugging; the report remains open with no maintainer triage.
stealth/space-bunny-alpha
Impact: 28
Quick Win: 9
Complexity: 40
Confidence: 73
Actionability: 52
needs triage Open and untriaged LXD shell report: snapcraftctl is unavailable while debugging override-pull; historical intent needs confirmation before deciding whether to fix or document the limitation.
qwen/qwen3.8-27b
Impact: 15
Quick Win: 11
Staleness: 95
Complexity: 25
Confidence: 72
Support Request: 10
close stale 2019 report that `snapcraft pull --use-lxd --shell` leaves `snapcraftctl` unavailable in the LXD shell. No labels, comments, or maintainer activity for about 6 years. snapcraft 2.x/3.x removed snapcraftctl, so the report is outdated.
qwen/qwen3.6-35b-a3b
Staleness: 95
Complexity: 20
Confidence: 85
Support Request: 10
close stale Report that snapcraft --shell fails to provide snapcraftctl command inside the environment. The report is over six years old, lacks maintainer labels or responses, and likely reflects outdated snapcraft behavior.
qwen/qwen3.6-35b-a3b
Staleness: 95
Complexity: 20
Confidence: 90
Support Request: 15
close stale Reports that --shell flag fails to make snapcraftctl available for debugging override-pull. The issue is over six years old, has zero maintainer interaction, and is likely obsolete due to significant snapcraft architectural changes.
qwen3.6-35b-a3b-mtp-q6
Staleness: 95
Complexity: 15
Confidence: 90
Support Request: 10
close stale Snapcraft's --shell flag fails to make snapcraftctl available inside the debug shell, causing a command not found error. Unaddressed for over six years.

Update history

Date Change
created

Related issues

Issue Project State Summary Similarity
#1834871 snapcraft help doesn't show --shell-before, or --shell, or --destructive-mode options snapcraft (launchpad) closed Closed without a help fix after a maintainer said command-less snapcraft was deprecated. PR #6074 removed that default command, but #6178 reverted the removal, leaving the mismatch unresolved.
70%
#4963 Support `--shell` and `--shell-after` for `snapcraft pack` snapcraft closed Restored --shell and --shell-after for snapcraft pack via merged craft-application#436 (ab55ec81); the fix shipped in Snapcraft 8.4.1.
70%