← Back to issue list

base: bare should force adapter none

View original Launchpad issue

Metadata

Project
snapcraft (launchpad)
Number
#1895140
Type
issue
State
closed
Author
~cjp256
Labels
—
Created
Updated
Closed

Current evaluation

Reported2019 that base: bare with adapter none still emitted a snapcraft-runner command-chain entry needing /bin/sh. The omission was fixed upstream in canonical/snapcraft#2853 (9599497fb); closed as stale in Aug 2026 as adapter support has since been removed.

Resolution: closed stale

Reason: The snapcraft-runner omission was fixed by merged PR canonical/snapcraft#2853 (commit 9599497fb), but this Launchpad report was closed by maintainer ~mr-cal on 2026-08-14 with the comment "Closing as stale, adapter no longer exists." Adapter was deprecated in commit 46a3e90be and grep confirms it no longer exists in the current codebase.

Evaluated by: mr-cal-bot

No scores available.

Issue body

The command chain generated relies on /bin/sh which isn't available. cannot snap-exec: cannot exec "/snap/<snap-name>/<snap-revision>/snap/command-chain/snapcraft-runner": no such file or directory

Evaluation history

Date Model Scores Action Summary
stealth/space-bunny-alpha — closed stale Reported2019 that base: bare with adapter none still emitted a snapcraft-runner command-chain entry needing /bin/sh. The omission was fixed upstream in canonical/snapcraft#2853 (9599497fb); closed as stale in Aug 2026 as adapter support has since been removed.
stealth/space-bunny-alpha — closed stale Closed as stale because adapter support was removed; the original runner omission was previously fixed in canonical/snapcraft#2853 (9599497fb).
stealth/space-bunny-alpha — closed resolved Fixed by merged PR #2853 (commit 9599497fb): Snapcraft now omits snapcraft-runner from command-chain when adapter is none, avoiding the /bin/sh failure for bare bases.
qwen/qwen3.6-35b-a3b — — Closed as fixed. Bare bases generated command chains dependent on /bin/sh, causing snap-exec failures. The resolution enforces adapter: none for bare bases to remove the /bin/sh dependency and prevent execution errors.
qwen/qwen3.6-35b-a3b
Staleness: 95
Complexity: 20
Confidence: 90
Support Request: 10
close stale Reports a snap-exec error where command chains rely on missing /bin/sh in bare bases. Currently inactive for over 5 years with no maintainer response.
qwen/qwen3.6-35b-a3b
Staleness: 95
Complexity: 40
Confidence: 65
Support Request: 20
needs triage Reports that the bare base forces a command chain relying on /bin/sh, causing snap-exec failures. The report has zero comments, no labels, and no maintainer activity for nearly six years.
qwen3.6-35b-a3b-mtp-q6
Staleness: 95
Complexity: 40
Confidence: 85
Support Request: 10
close stale Reports bare base incorrectly generating command chains relying on /bin/sh, causing snap-exec failures. Unaddressed for nearly 6 years with no maintainer interaction or labels.

Update history

Date Change
created

Related work

  • Likely Fixed By: canonical/snapcraft#2853 (confidence 88%)

    Merged PR titled 'meta: do not set snapcraft-runner when adapter is "none"' (commit 9599497fb) directly addresses the reported command-chain/snapcraft-runner problem.

  • Related To: canonical/snapcraft#2912 (confidence 62%)

    Follow-up PR 'meta: do not prime commands with adapter == "none"' extending the same fix to primed commands.

  • Related To: canonical/snapcraft#2864 (confidence 55%)

    Follow-up PR 'meta: assume command-chain fix for prepending snapcraft-runner' in the same adapter/command-chain series.

  • Superseded By: canonical/snapcraft#2853 (confidence 50%)

    Commit 46a3e90be 'parts: handle command_chain, deprecate adapter, deprecate snapcraft_runner' removed adapter, making the report's core20-era adapter none scenario moot.

Related issues

Issue Project State Summary Similarity
#2853 meta: do not set snapcraft-runner when adapter is "none" snapcraft merged Merged PR #2853 fixed app metadata handling so adapter: none does not add snapcraft-runner to command-chain; full and legacy adapters still do (commit 9599497fb).
75%
#2836 meta: fix command-chain handling when Application adapter == "none" snapcraft closed PR #2836 was closed unmerged on 2020-01-07 by author cjp256 in favor of a simpler back-portable PR #2853, which was merged (commit 9599497fb) and fixed adapter: none adding snapcraft-runner to command-chain.
71%