Skip to content

fix: add --security-opt label=disable to buildah from (2025.4)#116

Merged
k-rister merged 1 commit into
2025.4from
selinux-buildah-fix-2025.4
May 8, 2026
Merged

fix: add --security-opt label=disable to buildah from (2025.4)#116
k-rister merged 1 commit into
2025.4from
selinux-buildah-fix-2025.4

Conversation

@k-rister

@k-rister k-rister commented May 7, 2026

Copy link
Copy Markdown
Contributor

Summary

Backport SELinux buildah fix to 2025.4. Fixes DNS resolution failures during engine image builds on systems with SELinux enforcing.

Adds --security-opt label=disable to buildah from to prevent SELinux MCS category mismatch when buildah runs inside a podman container.

Test plan

  • Build an engine image on a system with SELinux enforcing
  • Verify DNS resolution works inside the buildah chroot

🤖 Generated with Claude Code

Prevents SELinux MCS category mismatch when buildah runs inside a
podman container. Without this, the nested buildah container gets
different MCS labels than the outer container, blocking access to
/etc/resolv.conf and causing DNS resolution failures during image
builds.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@k-rister k-rister self-assigned this May 7, 2026
@k-rister k-rister requested a review from a team May 7, 2026 22:00
@project-crucible-tracking project-crucible-tracking Bot moved this to In Progress in Crucible Tracking May 7, 2026
@k-rister k-rister merged commit 64ebbd5 into 2025.4 May 8, 2026
2 checks passed
@github-project-automation github-project-automation Bot moved this from In Progress to Done in Crucible Tracking May 8, 2026
@k-rister k-rister deleted the selinux-buildah-fix-2025.4 branch May 8, 2026 15:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

2 participants