Expand smoke testing to include SELinux

Aperta
#509 3 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
48/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
docker, linux, python

Direzione di ricerca

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.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

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

Lingua principale
Python
Stelle
18
Fork
33
Merge medio
2g 16h
PR unite (30g)
12

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di chaoss/CollectOSS

Tutte le issue di chaoss/CollectOSS

Issue simili

Altre issue su Python

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.