Skip to content

fix: add --security-opt label=disable to buildah from (2026.1)#115

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

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

Conversation

@k-rister
Copy link
Copy Markdown
Contributor

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

Summary

Backport SELinux buildah fix to 2026.1. 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 6ddfa69 into 2026.1 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-2026.1 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