← Back to issue list

rerun snapcraft as root if on managed-host

View original Launchpad issue

Metadata

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

Current evaluation

Fixed managed-host builds by re-executing Snapcraft as root; PR snapcore/snapcraft#2281 merged as d6ec1d24e.

Resolution: closed resolved

Reason: Snapcraft PR #2281 implemented the requested root re-execution and merged as commit d6ec1d24e.

Evaluated by: mr-cal-bot

No scores available.

Issue body

rerun as root when on a managed host to produce the correct binaries

Evaluation history

Date Model Scores Action Summary
stealth/space-bunny-alpha — closed resolved Fixed managed-host builds by re-executing Snapcraft as root; PR snapcore/snapcraft#2281 merged as d6ec1d24e.
stealth/space-bunny-alpha — closed resolved Closed by merged PR #2281 (commit d6ec1d24e, "build providers: re-exec as root"), which re-execs Snapcraft as root in managed-host build-provider environments; resolves LP #1791977.
stealth/space-bunny-alpha — closed resolved Merged PR #2281 (commit d6ec1d24e) re-executes Snapcraft as root in managed-host build-provider environments to produce correct binaries.
qwen/qwen3.6-35b-a3b — — Closed without discussion. The change to rerun snapcraft as root on managed hosts to produce correct binaries was likely implemented or abandoned.
qwen/qwen3.6-35b-a3b — — Abandoned. The request to rerun snapcraft as root on managed hosts was closed without discussion or implementation.
qwen/qwen3.6-35b-a3b — — Requesting snapcraft rerun as root on managed hosts to produce correct binaries was closed without implementation. Zero comments and prolonged inactivity indicate the item was abandoned, with no resolution details provided.
qwen3.6-35b-a3b-mtp-q6 — — Fixed by implementing automatic root reruns on managed hosts to ensure correct binary generation. Closed without discussion.

Update history

Date Change
created

Related work

  • Likely Fixed By: snapcore/snapcraft#2281 (confidence 100%)

    Merged PR implementing root re-execution for managed-host build providers.

Related issues

Issue Project State Summary Similarity
#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).
78%
#1741753 Snapcraft clean fails on root-owned files snapcraft (launchpad) closed Root-owned LXD build files broke snapcraft clean; fixed by merged PR snapcore/snapcraft#1904 (commit 6bd4c9e59), correcting raw.idmap ownership handling.
72%