← 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

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.

Suggested action: close stale

Reason: The issue dates from the snapcraft 1.x era (2509 days old, last activity 2154 days ago, 0 comments, no labels) and reports `snapcraftctl: command not found` in `--shell` mode. The current codebase is the rewritten 2.x/3.x architecture (snapcraft/parts, snapcraft/services, snapcraft/commands) where snapcraftctl no longer exists and `--shell` instead provides a build environment in which `snapcraft pull` is run directly, so the original problem is no longer applicable to any supported version.

Impact: 15 Quick Win: 11.25 Staleness: 95 Complexity: 25 Confidence: 72 Support Request: 10

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
qwen/qwen3.8-27b
Impact: 15
Quick Win: 11.25
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.
qwen3.6-35b-a3b-mtp-q6
Staleness: 95
Complexity: 25
Confidence: 85
Support Request: 10
close stale Issue reports snapcraftctl missing in debug shell launched by --shell. No maintainer response in over six years, likely irrelevant to current versions.

Update history

No update history recorded yet.

Related issues

Issue Project State Summary Similarity
#1839399 snapcraft not pulling snap from lxd container snapcraft (launchpad) open 2019 report that snapcraft 3.7.1 with --use-lxd built a snap inside the LXD container but never copied it back to the host. No labels, no maintainer interaction, 7 years old; the LXD provider has since been rewritten via craft-providers.
74%
#1823512 `snapcraft --shell` shouldn't run the lifecycle steps snapcraft (launchpad) open Bug report claiming `snapcraft --shell` runs lifecycle steps instead of dropping into the build environment shell. 7+ years old, 0 comments, no labels; the `--shell` flag was removed in the modern CLI and `snapcraft shell` now provides the requested behavior.
70%