From fc1de351d2f363a842f098de6849b1068fd15ce7 Mon Sep 17 00:00:00 2001 From: John Agombar Date: Wed, 1 May 2024 17:32:58 +0100 Subject: [PATCH] Don't delete files in /usr/lib64/systemd for centos 9 images When starting up a cluster from a centos 9 based container image, the following entries are logged multiple times: ceph-volume.log:[2024-05-01 15:28:51,612][ceph_volume.process][INFO ] stderr /usr/sbin/udevadm: error while loading shared libraries: libsystemd-shared-252.so: cannot open shared object file: No such file or directory Further investigation showed that the Dockerfile for centos 9 was deleting everything in /usr/lib64/systemd/ because it is built from the default /src/__DOCKERFILE_CLEAN_COMMON__. I think that centos 9 should be keeping the files in this directory in the same way that centos 8 does. Signed-off-by: John Agombar --- ceph-releases/ALL/centos/{8 => }/__DOCKERFILE_CLEAN_COMMON__ | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename ceph-releases/ALL/centos/{8 => }/__DOCKERFILE_CLEAN_COMMON__ (100%) diff --git a/ceph-releases/ALL/centos/8/__DOCKERFILE_CLEAN_COMMON__ b/ceph-releases/ALL/centos/__DOCKERFILE_CLEAN_COMMON__ similarity index 100% rename from ceph-releases/ALL/centos/8/__DOCKERFILE_CLEAN_COMMON__ rename to ceph-releases/ALL/centos/__DOCKERFILE_CLEAN_COMMON__