From 627304247bdbcb1f80af6cad8aac9a1ee2979504 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-arm64/8/__DOCKERFILE_CLEAN_COMMON__ | 1 - ceph-releases/ALL/centos-arm64/__DOCKERFILE_CLEAN_COMMON__ | 1 + ceph-releases/ALL/centos/{8 => }/__DOCKERFILE_CLEAN_COMMON__ | 0 3 files changed, 1 insertion(+), 1 deletion(-) delete mode 120000 ceph-releases/ALL/centos-arm64/8/__DOCKERFILE_CLEAN_COMMON__ create mode 120000 ceph-releases/ALL/centos-arm64/__DOCKERFILE_CLEAN_COMMON__ rename ceph-releases/ALL/centos/{8 => }/__DOCKERFILE_CLEAN_COMMON__ (100%) diff --git a/ceph-releases/ALL/centos-arm64/8/__DOCKERFILE_CLEAN_COMMON__ b/ceph-releases/ALL/centos-arm64/8/__DOCKERFILE_CLEAN_COMMON__ deleted file mode 120000 index 9c96ad974..000000000 --- a/ceph-releases/ALL/centos-arm64/8/__DOCKERFILE_CLEAN_COMMON__ +++ /dev/null @@ -1 +0,0 @@ -../../centos/8/__DOCKERFILE_CLEAN_COMMON__ \ No newline at end of file diff --git a/ceph-releases/ALL/centos-arm64/__DOCKERFILE_CLEAN_COMMON__ b/ceph-releases/ALL/centos-arm64/__DOCKERFILE_CLEAN_COMMON__ new file mode 120000 index 000000000..595296840 --- /dev/null +++ b/ceph-releases/ALL/centos-arm64/__DOCKERFILE_CLEAN_COMMON__ @@ -0,0 +1 @@ +../centos/__DOCKERFILE_CLEAN_COMMON__ \ No newline at end of file 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__