Repository navigation
Conversation
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: tolusha The full list of commands accepted by this bot can be found here. DetailsNeeds approval from an approver in each of these files:Approvers can indicate their approval by writing |
|
Important Draft PR not reviewedDraft PRs are not automatically reviewed by default.
To automatically review draft PRs, update your CodeRabbit configuration: reviews:
auto_review:
drafts: true
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. |
be0ea1b to
c06192e
Compare
The sed that adjusted /usr/share/containers/storage.conf appended a bare
"/var/lib/shared", line after the commented additionalimagestores entry,
producing invalid TOML. Podman >= 5 warns "Failed to obtain podman
configuration" and silently falls back to default settings (overlay
driver), which fails inside DevWorkspaces without /dev/fuse or
unprivileged overlay mounts ("failed to mount overlay for metacopy
check: permission denied").
Replace the append with a proper substitution that uncomments and sets
additionalimagestores = ["/var/lib/shared"].
Also clear ~/.local/share/containers/storage on first start in
entrypoint.sh: podman >= 5 persists the graph driver in its sqlite
database, which takes precedence over storage.conf, so a previously
failed run (seeded with the overlay driver) keeps failing even after a
correct vfs/fuse-overlayfs storage.conf is written.
Verified in a DevWorkspace against the ubi10 image: with the vfs user
storage.conf and cleared state, `podman info` succeeds.
Co-Authored-By: Claude Code <noreply@anthropic.com>
Signed-off-by: Anatolii Bazko <abazko@redhat.com>
Co-Authored-By: Claude Code <noreply@anthropic.com> Signed-off-by: Anatolii Bazko <abazko@redhat.com>
c06192e to
f5a71b8
Compare
|
Pull Request UBI 10 images published ✨ Base: quay.io/devfile/base-developer-image:ubi10-pr-271 |
1 similar comment
|
Pull Request UBI 10 images published ✨ Base: quay.io/devfile/base-developer-image:ubi10-pr-271 |
|
Pull Request images published ✨ Base: quay.io/devfile/base-developer-image:pr-271 |
3 similar comments
|
Pull Request images published ✨ Base: quay.io/devfile/base-developer-image:pr-271 |
|
Pull Request images published ✨ Base: quay.io/devfile/base-developer-image:pr-271 |
|
Pull Request images published ✨ Base: quay.io/devfile/base-developer-image:pr-271 |
Problem
podman info(and any podman use) fails in DevWorkspaces built from these images:Root cause: the build-time sed in
base/ubi10/Dockerfile/base/ubi9/Dockerfileappended a bare"/var/lib/shared",line after the commented# additionalimagestores = []entry instorage.conf, producing invalid TOML:Podman >= 5 logs
Failed to obtain podman configuration: decode configuration ... toml, silently falls back to default settings (overlay driver), and then fails inside the workspace where unprivileged overlay mounts are denied.🤖 Generated with Claude Code