Expand smoke testing to include SELinux

Abierto
#509 3 comentarios 0 reacciones 0 asignados Ver en GitHub

Los mantenedores suelen responder en 1 día

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
4/5
Tiempo estimado
3-5 días
Aptitud para principiantes
48/100
Tipo de issue
Nueva funcionalidad
Claridad
Bastante claro
Estado de actividad
Activo
Stack tecnológico
docker, linux, python

Línea de trabajo

Start by locating the existing smoke tests and the stock Docker configuration referenced by docker/rabbitmq; reproduce the scenario with rootful Docker on SELinux-enabled Linux. Done means smoke testing covers and passes the SELinux and Docker compatibility case.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

needs-plan testing

ah ok, based on slack conversation and the outputs of ls -alZ docker/rabbitmq, it seems like this points to docker rootful daemon (the default config) by default using a label of system_u:object_r:container_file_t:s0:cXXX,cYYY (container_file_t having been added by this fix).

This seemingly isn't affecting podman because it runs as rootless by default and has some defaults that let it read files in the users homedir.

This likely isn't affecting the CI because I doubt SELinux is enabled in the CI.

So yeah SELinux + docker compatibility with our stock config does seem to be a gap in our testing.

Originally posted by @MoralCode in https://github.com/chaoss/CollectOSS/issues/508#issuecomment-5973417029

Lenguaje dominante
Python
Estrellas
18
Forks
33
Merge medio
2 d 16 h
PR fusionados (30 d)
12

Preparar el entorno

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de chaoss/CollectOSS

Todos los issues de chaoss/CollectOSS

Issues similares

Más issues de Python

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.