Rockcraft wipes working directory
Metadata
Current evaluation
Rockcraft's organize key can wipe the host working directory when a user maps /root/project (the project mountpoint) to another path. Maintainer agreed a safeguard is needed; no fix found yet, and a contributor offered to take it on in March 2026.
Suggested action: keep open
Reason: Maintainer tigarmo explicitly agreed the behavior is undesirable and that a safeguard should be added ("we'll do something for sure"), and a contributor offered to take it on in the latest comment (2026-03-18). No fix has been merged in rockcraft; the related craft-parts fix (#1562, reject organize sources outside install dir) may partially address it but is not confirmed to cover the /root/project mountpoint case, so the issue remains valid and actionable.
Issue body
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| qwen/qwen3.8-27b |
Impact:
55
Quick Win:
30.25
Staleness:
35
Complexity:
45
Confidence:
70
Support Request:
20
|
keep open | Rockcraft's organize key can wipe the host working directory when a user maps /root/project (the project mountpoint) to another path. Maintainer agreed a safeguard is needed; no fix found yet, and a contributor offered to take it on in March 2026. | |
| qwen/qwen3.6-35b-a3b |
Staleness:
55
Complexity:
20
Confidence:
80
Support Request:
10
|
needs triage | Rockcraft wipes working directory when using the organize option. Maintainers agreed a safeguard is needed, but the issue lacks labels and assignee after nearly four years. A contributor recently offered to implement the fix, awaiting formal triage. | |
| qwen3.6-35b-a3b-mtp-q6 |
Staleness:
75
Complexity:
20
Confidence:
85
Support Request:
5
|
keep open | Rockcraft's organize directive can accidentally wipe the host working directory when pointing to /root/project. Maintainers acknowledged the problem and agreed to add a safeguard, but it remains unaddressed after nearly 4 years. | |
| qwen3.6-35b-a3b-mtp-q6 |
Staleness:
75
Complexity:
25
Confidence:
80
Support Request:
15
|
keep open | Rockcraft's organize option accidentally wipes the host working directory when mapping /root/project. The issue is open and awaiting assignment, with a contributor ready to implement a safeguard or warning. |
Update history
No update history recorded yet.
Related work
-
Related To:
canonical/craft-parts#1562
(confidence 55%)
craft-parts fix 'reject sources outside install dir' may prevent organizing from /root/project, but it is not confirmed to cover the mountpoint case or be picked up by rockcraft's current dependency.
Related issues
No related issues found above the similarity threshold.