Create a generic craft LXD profile
Metadata
Current evaluation
Enhancement to create a generic craft LXD profile to protect managed containers from user-specific profile modifications affecting build reproducibility. Open 694 days with no maintainer response.
Suggested action: needs triage
Reason: No maintainer has responded to or acknowledged this issue despite it being open for 694 days. The issue is a valid enhancement request about build reproducibility, but requires maintainer assessment to determine priority and implementation approach. The related issue craft-providers#213 (also open 3.5 years) suggests this area has been discussed but not acted on.
Impact:
60
Quick Win:
27.0
Staleness:
85
Complexity:
55
Confidence:
60
Support Request:
15
Issue body
### What needs to get done
Craft tools should adopt the default profile created by users when initializing LXD and then seed that profile with good defaults for the build environment to use.
### Why it needs to get done
Currently, craft tools like snapcraft use LXD to create and manage a build environment. LXD creates a default profile which users can freely modify (`lxc profile edit default`). Whenever a craft tool creates a managed container to perform builds in, that container is created using the default profile. This means that any user-specific additions beyond what a managed container requires (root disk, networking) can infect the build environment, potentially impacting build reproducibility or even ability.
Doing this will protect managed containers from adverse (and potentially unintended) interactions, while still preserving the ability of users to impact the environment tools like snapcraft do their work in.
This could also potentially simplify the config invocations tools like snapcraft use to create the container or the behavior of certain flags (such as `--bind-ssh`), as that information could be kept within the profile.
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| qwen3.6-35b-a3b-mtp-q6 |
Impact:
60
Quick Win:
27.0
Staleness:
85
Complexity:
55
Confidence:
60
Support Request:
15
|
needs triage | Enhancement to create a generic craft LXD profile to protect managed containers from user-specific profile modifications affecting build reproducibility. Open 694 days with no maintainer response. | |
| qwen/qwen3.6-35b-a3b |
Staleness:
45
Complexity:
60
Confidence:
85
Support Request:
10
|
needs triage | Enhancement request to create a generic craft LXD profile for build environments, preventing user-specific profile modifications from affecting reproducibility. | |
| qwen3.6-35b-a3b-mtp-q6 |
Staleness:
65
Complexity:
30
Confidence:
85
Support Request:
10
|
needs triage | Enhancement request to create a dedicated LXD profile for craft tools to isolate build environments from user-specific LXD settings and improve reproducibility. | |
| qwen3.6-35b-a3b-mtp-q6 |
Staleness:
75
Complexity:
55
Confidence:
85
Support Request:
10
|
needs triage | Enhancement requesting craft tools use a dedicated LXD profile to isolate build environments from user modifications and improve reproducibility. Currently awaiting maintainer triage. |
Update history
No update history recorded yet.
Related work
-
Related To:
craft-providers#213
(confidence 80%)
Related enhancement request for alternate LXD profiles via env var, also open 3.5 years with no implementation.
Related issues
| Issue | Project | State | Summary | Similarity |
|---|---|---|---|---|
| #213 Use alternate lxd profiles | craft-providers | open | Enhancement request to add CRAFT_PROVIDERS_LXD_PROFILE env var for alternate LXD profiles. Open 3.5 years with one maintainer comment, no implementation. | |
| #590 Improve the LXD init experience | rockcraft | open | LXD init check for rockcraft pack is implemented in craft-providers. Maintainer kept issue open for two follow-ups: handling broken LXD profiles from older versions (PR #588 closed unmerged) and multi-profile selection. Inactive ~12.5 months. |