diff --git a/containers-common.spec b/containers-common.spec index fae34d7..3649515 100644 --- a/containers-common.spec +++ b/containers-common.spec @@ -40,7 +40,7 @@ Epoch: 5 # copr and koji builds. # If you're reading this on dist-git, the version is automatically filled in by Packit. Version: 0.60.2 -Release: 11%{?dist} +Release: 12%{?dist} License: Apache-2.0 BuildArch: noarch # for BuildRequires: go-md2man @@ -162,7 +162,7 @@ $2 = $3" $1 # ensure required configurations for RHEL10 is present ensure pkg/config/containers.conf runtime \"crun\" -ensure pkg/config/containers.conf log_driver \"file\" +ensure pkg/config/containers.conf log_driver \"k8s-file\" # install config and policy files for registries install -dp %{buildroot}%{_sysconfdir}/containers/{certs.d,oci/hooks.d,systemd} @@ -255,6 +255,10 @@ ln -s ../../../..%{_sysconfdir}/yum.repos.d/redhat.repo %{buildroot}%{_datadir}/ %files extra %changelog +* Mon Nov 25 2024 Jindrich Novy - 5:0.60.2-12 +- Use proper log_driver: k8s-file +- Resolves: RHEL-68081 + * Thu Oct 31 2024 Jindrich Novy - 5:0.60.2-11 - Install shortnames from Pyxis and overrides - Resolves: RHEL-34940 diff --git a/containers.conf b/containers.conf index 735c935..81abef9 100644 --- a/containers.conf +++ b/containers.conf @@ -183,7 +183,7 @@ default_sysctls = [ # Logging driver for the container. Available options: k8s-file and journald. # -log_driver = "file" +log_driver = "k8s-file" # Maximum size allowed for the container log file. Negative numbers indicate # that no size limit is imposed. If positive, it must be >= 8192 to match or