Keep overlayfs mounted when running with --debug and something fails
Metadata
Current evaluation
imagecraft unmounts overlayfs before dropping into the --debug shell when an overlay-script fails, making it hard to inspect the failed state. Workaround is manual fuse-overlayfs remount. A maintainer (lengau) asked whether craft-parts should handle this, but no fix has landed.
Suggested action: keep open
Reason: The issue is a legitimate bug/feature request with a clear reproduction and a concrete workaround documented by the reporter. A maintainer (lengau) engaged on 2025-08-14 by asking whether craft-parts should handle this, indicating the issue is acknowledged and under consideration. The last activity was 382 days ago (~12.5 months), which is moderately stale, but the issue is not irrelevant — the overlay unmount behavior in craft-parts (overlay_manager.py unmount() called before the debug shell) is still present in the current codebase. The fix would likely require a small change in craft-parts to skip unmounting when --debug is active, or a callback in imagecraft to remount. This is not a support request and not stale enough to close.
Issue body
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| qwen/qwen3.8-27b |
Impact:
45
Quick Win:
27.0
Staleness:
55
Complexity:
40
Confidence:
70
Support Request:
10
|
keep open | imagecraft unmounts overlayfs before dropping into the --debug shell when an overlay-script fails, making it hard to inspect the failed state. Workaround is manual fuse-overlayfs remount. A maintainer (lengau) asked whether craft-parts should handle this, but no fix has landed. | |
| qwen/qwen3.6-35b-a3b |
Staleness:
78
Complexity:
35
Confidence:
70
Support Request:
10
|
keep open | Bug requesting overlayfs stay mounted when --debug triggers after a script failure. Currently inactive for over a year with no maintainer response. | |
| qwen3.6-35b-a3b-mtp-q6 |
Staleness:
75
Complexity:
35
Confidence:
60
Support Request:
10
|
keep open | Requests keeping overlayfs mounted when --debug is active and a script fails, to aid debugging. Currently unmounts before dropping to shell. Inactive for over a year with maintainer discussion about upstream resolution in craft-parts. | |
| qwen3.6-35b-a3b-mtp-q6 |
Staleness:
85
Complexity:
45
Confidence:
60
Support Request:
10
|
needs triage | Overlayfs is unmounted before dropping into a debug shell when an overlay-script fails, hindering debugging. Issue is untriaged and inactive for over 10 months. | |
| qwen3.6-35b-a3b-mtp-q6 |
Staleness:
75
Complexity:
45
Confidence:
80
Support Request:
10
|
needs triage | overlayfs unmounts before dropping into debug shell on script failure, hindering debugging. Request to keep it mounted. Open, awaiting triage or cross-project resolution in craft-parts. |
Update history
No update history recorded yet.
Related issues
No related issues found above the similarity threshold.