You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@avro.apache.org by "Oscar Westra van Holthe - Kind (Jira)" <ji...@apache.org> on 2025/02/21 10:06:00 UTC
[jira] [Updated] (AVRO-1925) Docker clash with SELinux
[ https://issues.apache.org/jira/browse/AVRO-1925?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Oscar Westra van Holthe - Kind updated AVRO-1925:
-------------------------------------------------
Fix Version/s: (was: 1.9.0)
> Docker clash with SELinux
> -------------------------
>
> Key: AVRO-1925
> URL: https://issues.apache.org/jira/browse/AVRO-1925
> Project: Apache Avro
> Issue Type: Bug
> Components: docker
> Affects Versions: 1.8.1
> Environment: Linux - Centos 7 with SELinux running, avro found in /home/<username>.
> Reporter: Simon Woodford
> Priority: Minor
>
> When Docker is running in a labelling system like SELinux, it needs to be told to relabel any directories it wants to write to.
> In build.sh, we tell Docker that it can access /home/USER_NAME, /home/.m2 and /home/.gnupg, but we don't instruct it to relabel them. So if SELinux is running, once in the docker container, you cannot build anything as that involves writing.
> See e.g. the Volume Labels section in https://docs.docker.com/engine/tutorials/dockervolumes/ for more details.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)