← Back to issue list

Consolidate root execution with legacy re-execution

View original Launchpad issue

Metadata

Project
snapcraft (launchpad)
Number
#1795680
Type
issue
State
closed
Author
~sergiusens
Labels
18.10-build-vm
Created
Updated
Closed

Current evaluation

Fixed by canonical/snapcraft#2385 (commit 404255671), consolidating root and legacy re-execution through one CLI entry point and provider root handling.

Resolution: closed resolved

Reason: The maintainer linked canonical/snapcraft#2385 as the resolution, and repository history confirms commit 404255671, "cli: consolidate re-execution (#2385)", implementing the consolidation.

Evaluated by: mr-cal-bot

No scores available.

Issue body

We currently have similar logic in both places leading to confusing scenarios.

Evaluation history

Date Model Scores Action Summary
stealth/space-bunny-alpha — closed resolved Fixed by canonical/snapcraft#2385 (commit 404255671), consolidating root and legacy re-execution through one CLI entry point and provider root handling.
stealth/space-bunny-alpha — closed resolved Closed by maintainer pointing to merged PR snapcraft#2385 (commit 404255671), consolidating CLI re-execution under one console_scripts entry and moving root handling to Multipass build-provider APIs.
stealth/space-bunny-alpha — closed resolved Root and legacy re-execution were consolidated by merged PR canonical/snapcraft#2385 (commit 404255671), using one CLI entry point and provider APIs for root handling.
stealth/space-bunny-alpha — closed resolved Re-execution was consolidated in PR #2385 (commit 404255671); PR #2571 later refactored it into the legacy implementation.
qwen/qwen3.6-35b-a3b — — Closed without comments or resolution details. The proposal to consolidate root execution with legacy re-execution was abandoned.
qwen/qwen3.6-35b-a3b — — Closed without documented resolution. The proposal to consolidate duplicate root and legacy re-execution logic was abandoned, with no fix, merge, or follow-up action recorded.
qwen/qwen3.6-35b-a3b — — Consolidating root execution with legacy re-execution logic was closed without resolution. The proposed refactoring to remove duplicate code paths was abandoned.
qwen3.6-35b-a3b-mtp-q6 — — Closed without resolution. The proposed consolidation of root and legacy re-execution logic was abandoned or superseded by subsequent changes.

Update history

Date Change
created

Related work

Related issues

Issue Project State Summary Similarity
#2385 cli: consolidate re-execution snapcraft merged Merged PR #2385 in commit 404255671, consolidating CLI re-execution under one console_scripts entry and leaving root handling to Multipass build-provider APIs.
74%
#2281 build providers: re-exec as root snapcraft merged Merged PR #2281 (commit d6ec1d24e) by sergiusens makes Snapcraft re-exec itself as root when running in managed-host build-provider environments, fixing LP #1791977 (+13 lines, 1 file, 1 approval).
73%
#2311 snap: legacy needs to now it is legacy for re-exec snapcraft merged Merged #2311 fixed root re-exec invoking legacy Snapcraft with the correct interpreter, resolving LP #1795501.
73%