fix(infra): SELinux-Volume-Flag :z und KC async-commit deaktivieren #297
No reviewers
Labels
No labels
component/backend
component/docs
component/e2e
component/frontend
component/infra
component/keycloak
prio/high
prio/low
prio/medium
type/bug
type/chore
type/feature
type/refactor
type/test
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
WompSchmiede/FamilienFeierPlaner!297
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "fix/docker-compose-selinux-keycloak"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Altes Verhalten
EACCES: permission denied, mkdir '/output/e2e-results'ab, weil Podman unter SELinux enforcing den Schreibzugriff auf das gebindete./output-Verzeichnis blockt.aurora_version(): Nach dem Pull vonpostgres:latest(neues Major-Release) loggt PostgreSQLERROR: function aurora_version() does not exist. Keycloaks async-commit-Feature fragtaurora_version()zur Aurora-Detection ab, was bei Standard-PostgreSQL fehlschlaegt.Neues Verhalten
:z: Das./output:/output-Volume bekommt das SELinux-Flag:z, damit Podman den Mount mitcontainer_file_tlabelt und der Container schreiben kann. Kompatibel mit Docker unter Windows/CI (dort wird:zignoriert).KC_SPI_CONNECTIONS_JPA__QUARKUS__ASYNC_COMMIT=false: Deaktiviert async commits fuer ephemere Tabellen in Keycloak. Dadurch unterbleibt dieaurora_version()-Abfrage, der PostgreSQL-Log bleibt sauber.Begruendung
postgres:latestzieht unabhaengig vom Repo neue Major-Versionen; dieaurora_version()-Meldung ist ein harmloser, aber test-blockierender Log-Eintrag.Checkliste
4e4df63a720e94c84beb