Using chiseled JRE images with podman and crun fails when following the documentation
Metadata
Current evaluation
Rootless podman with crun fails to run chiseled JRE rocks because rockcraft's hardcoded _daemon_ UID 584792 exceeds the default subuid/subgid range. Workaround (expanding /etc/subuid) confirmed by maintainers; no doc or code fix landed yet.
Suggested action: keep open
Reason: Maintainer @vpa1977 confirmed on 2025-07-03 that the root cause is the hardcoded _daemon_ UID 584792 (verified in rockcraft/usernames.py) falling outside the default podman subuid range, and #911 was closed as a duplicate of this issue. A workaround exists (expanding /etc/subuid) but neither the documentation nor the code has been updated to address it, so the issue remains valid and actionable.
Issue body
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| qwen/qwen3.8-27b |
Impact:
45
Quick Win:
29.25
Staleness:
65
Complexity:
35
Confidence:
78
Support Request:
45
|
keep open | Rootless podman with crun fails to run chiseled JRE rocks because rockcraft's hardcoded _daemon_ UID 584792 exceeds the default subuid/subgid range. Workaround (expanding /etc/subuid) confirmed by maintainers; no doc or code fix landed yet. | |
| qwen/qwen3.6-35b-a3b |
Staleness:
85
Complexity:
15
Confidence:
90
Support Request:
60
|
close not a bug | Running chiseled JRE images with Podman and crun fails with setgroups and UID mapping errors. Identified as a duplicate of #911 caused by insufficient subuid/subgid ranges. Resolved via configuration workaround. | |
| qwen3.6-35b-a3b-mtp-q6 |
Staleness:
85
Complexity:
15
Confidence:
90
Support Request:
70
|
close not a bug | Duplicate of #911. Running chiseled JRE images with podman/crun on Ubuntu 24.04 fails due to UID/GID mapping limits. Community provided a workaround adjusting subuid/subgid ranges. Marked as duplicate and resolved. | |
| qwen3.6-35b-a3b-mtp-q6 |
Staleness:
85
Complexity:
15
Confidence:
95
Support Request:
75
|
close not a bug | Reports podman/crun failure with chiseled JRE images due to UID mapping errors. Identified as duplicate of #911 and resolved by expanding /etc/subuid and /etc/subgid ranges. | |
| qwen3.6-35b-a3b-mtp-q6 |
Staleness:
85
Complexity:
20
Confidence:
80
Support Request:
75
|
close not a bug | Podman with crun fails running chiseled JRE images due to UID mapping errors outside configured subuid/subgid ranges. Marked as duplicate of #911 with a known workaround to expand subuid/subgid mappings. Closed as duplicate. |
Update history
No update history recorded yet.
Related work
-
Duplicate Of:
canonical/rockcraft#911
(confidence 95%)
Issue #911 was explicitly closed as a duplicate of this issue (#873) by @lczyk on 2025-07-03, confirming this is the canonical tracking issue for the podman UID mapping problem.
Related issues
| Issue | Project | State | Summary | Similarity |
|---|---|---|---|---|
| #911 podman uid/gid error | rockcraft | closed | Closed as duplicate of issue #873. Details a Podman UID/GID namespace error when running rockcraft-built containers due to hardcoded daemon user IDs. Author provided a workaround and suggested docs updates, but confirmed the issue matches existing tracking. |