From df122905ebc4836c8fb6ead58628d3611cafaaa5 Mon Sep 17 00:00:00 2001 From: Kevin Veen-Birkenbach Date: Wed, 3 Sep 2025 14:42:50 +0200 Subject: [PATCH] mailu: include base defaults for oletools (env_file/LD_PRELOAD) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Add base include to oletools service so it inherits env_file (LD_PRELOAD=/usr/lib/libhardened_malloc.so) and other defaults. Fixes crash: PermissionError: '/proc/cpuinfo' during hardened_malloc compatibility probe when LD_PRELOAD was absent. Aligns oletools with other Mailu services. Refs: ChatGPT discussion – https://chatgpt.com/share/68b837ba-c9cc-800f-b5d9-62b60d6fafd9 --- roles/web-app-mailu/templates/docker-compose.yml.j2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/roles/web-app-mailu/templates/docker-compose.yml.j2 b/roles/web-app-mailu/templates/docker-compose.yml.j2 index 5f06d976..2e81097d 100644 --- a/roles/web-app-mailu/templates/docker-compose.yml.j2 +++ b/roles/web-app-mailu/templates/docker-compose.yml.j2 @@ -79,10 +79,10 @@ {% include 'roles/docker-container/templates/networks.yml.j2' %} oletools: +{% include 'roles/docker-container/templates/base.yml.j2' %} container_name: {{ MAILU_CONTAINER }}_oletools image: {{ MAILU_DOCKER_FLAVOR }}/oletools:{{ MAILU_VERSION }} hostname: oletools - restart: {{ DOCKER_RESTART_POLICY }} depends_on: - resolver dns: