From 0ae1cfd00e968c88903c0cf8b431ec4a03dae352 Mon Sep 17 00:00:00 2001 From: Lokesh Mandvekar Date: Tue, 15 Mar 2022 11:07:27 -0400 Subject: [PATCH] comment out log_driver for rhel8 on copr Signed-off-by: Lokesh Mandvekar --- containers-common.spec | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/containers-common.spec b/containers-common.spec index 6db79eb..0de3f88 100644 --- a/containers-common.spec +++ b/containers-common.spec @@ -89,6 +89,10 @@ cp %{SOURCE23} . cp %{SOURCE24} . cp %{SOURCE25} . +%if 0%{?rhel} <= 8 +sed -i 's/log_driver = "journald"/#log_driver = "journald"/' containers.conf +%endif + %build mkdir -p man5 for FILE in $(ls *.5.md); do