Skip to content

Add SELinux :z label to Docker volume mounts in NativeImageBuildTask#151121

Open
javanna wants to merge 1 commit into
elastic:mainfrom
javanna:fix-native-image-build-selinux-mounts
Open

Add SELinux :z label to Docker volume mounts in NativeImageBuildTask#151121
javanna wants to merge 1 commit into
elastic:mainfrom
javanna:fix-native-image-build-selinux-mounts

Conversation

@javanna

@javanna javanna commented Jun 12, 2026

Copy link
Copy Markdown
Contributor

On SELinux-enforcing hosts (Fedora, RHEL) the container process is denied access to host-mounted paths unless the volume is relabeled. The :z suffix applies a shared SELinux context, which is a no-op on non-SELinux systems.

On SELinux-enforcing hosts (Fedora, RHEL) the container process is
denied access to host-mounted paths unless the volume is relabeled.
The :z suffix applies a shared SELinux context, which is a no-op on
non-SELinux systems.
@javanna javanna requested a review from a team as a code owner June 12, 2026 07:28
@javanna javanna added >bug :Delivery/Build Build or test infrastructure v9.5.0 labels Jun 12, 2026
@elasticsearchmachine elasticsearchmachine added the Team:Delivery Meta label for Delivery team label Jun 12, 2026
@elasticsearchmachine

Copy link
Copy Markdown
Collaborator

Pinging @elastic/es-delivery (Team:Delivery)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

>bug :Delivery/Build Build or test infrastructure Team:Delivery Meta label for Delivery team v9.5.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants