From 08a453d6437f33e5dc6eec6de41ba1db8abade32 Mon Sep 17 00:00:00 2001 From: Muayyad Alsadi Date: Mon, 10 Apr 2023 12:26:42 +0300 Subject: [PATCH] Revert "Use more lenient SELinux mount flag for secrets" This reverts commit 75de39c23973160386244d35f43ef50cf2e962c0. --- podman_compose.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/podman_compose.py b/podman_compose.py index 9b20ff8..348d4ce 100755 --- a/podman_compose.py +++ b/podman_compose.py @@ -578,7 +578,7 @@ def get_secret_args(compose, cnt, secret): source_file = os.path.realpath( os.path.join(basedir, os.path.expanduser(source_file)) ) - volume_ref = ["--volume", f"{source_file}:{dest_file}:z,ro,rprivate,rbind"] + volume_ref = ["--volume", f"{source_file}:{dest_file}:Z,ro,rprivate,rbind"] if uid or gid or mode: sec = target if target else secret_name log(