From 724e376121fa0a7809242e85f2dff7f2867e8299 Mon Sep 17 00:00:00 2001 From: Jonathon Anderson Date: Wed, 4 Dec 2024 18:12:59 -0700 Subject: [PATCH] Workaround for openhpc/ohpc#2061 Signed-off-by: Jonathon Anderson --- rockylinux-8/Containerfile | 2 ++ rockylinux-8/Containerfile-fixed | 2 ++ rockylinux-8/Containerfile-vault | 2 ++ rockylinux-9/Containerfile | 2 ++ rockylinux-9/Containerfile-fixed | 2 ++ rockylinux-9/Containerfile-vault | 2 ++ 6 files changed, 12 insertions(+) diff --git a/rockylinux-8/Containerfile b/rockylinux-8/Containerfile index 1df33d3..8098e85 100644 --- a/rockylinux-8/Containerfile +++ b/rockylinux-8/Containerfile @@ -36,6 +36,8 @@ RUN systemctl unmask \ systemd-logind.service \ systemd-remount-fs.service +RUN chmod u+w / # https://github.com/openhpc/ohpc/issues/2061 + COPY excludes /etc/warewulf/ COPY container_exit.sh /etc/warewulf/ diff --git a/rockylinux-8/Containerfile-fixed b/rockylinux-8/Containerfile-fixed index 5a5441d..f99661b 100644 --- a/rockylinux-8/Containerfile-fixed +++ b/rockylinux-8/Containerfile-fixed @@ -39,6 +39,8 @@ RUN systemctl unmask \ systemd-logind.service \ systemd-remount-fs.service +RUN chmod u+w / # https://github.com/openhpc/ohpc/issues/2061 + COPY excludes /etc/warewulf/ COPY container_exit.sh /etc/warewulf/ diff --git a/rockylinux-8/Containerfile-vault b/rockylinux-8/Containerfile-vault index 1e0c1e1..04bbb4f 100644 --- a/rockylinux-8/Containerfile-vault +++ b/rockylinux-8/Containerfile-vault @@ -43,6 +43,8 @@ RUN systemctl unmask \ systemd-logind.service \ systemd-remount-fs.service +RUN chmod u+w / # https://github.com/openhpc/ohpc/issues/2061 + COPY excludes /etc/warewulf/ COPY container_exit.sh /etc/warewulf/ diff --git a/rockylinux-9/Containerfile b/rockylinux-9/Containerfile index 1c63a22..7c7c9e8 100644 --- a/rockylinux-9/Containerfile +++ b/rockylinux-9/Containerfile @@ -29,6 +29,8 @@ RUN dnf update -y \ && dnf remove -y selinux-policy \ && dnf clean all +RUN chmod u+w / # https://github.com/openhpc/ohpc/issues/2061 + COPY excludes /etc/warewulf/ COPY container_exit.sh /etc/warewulf/ diff --git a/rockylinux-9/Containerfile-fixed b/rockylinux-9/Containerfile-fixed index e849059..6530504 100644 --- a/rockylinux-9/Containerfile-fixed +++ b/rockylinux-9/Containerfile-fixed @@ -35,6 +35,8 @@ RUN dnf update -y \ && dnf remove -y selinux-policy \ && dnf clean all +RUN chmod u+w / # https://github.com/openhpc/ohpc/issues/2061 + COPY excludes /etc/warewulf/ COPY container_exit.sh /etc/warewulf/ diff --git a/rockylinux-9/Containerfile-vault b/rockylinux-9/Containerfile-vault index e2fc13f..8a3f39d 100644 --- a/rockylinux-9/Containerfile-vault +++ b/rockylinux-9/Containerfile-vault @@ -36,6 +36,8 @@ RUN dnf update -y \ && dnf remove -y selinux-policy \ && dnf clean all +RUN chmod u+w / # https://github.com/openhpc/ohpc/issues/2061 + COPY excludes /etc/warewulf/ COPY container_exit.sh /etc/warewulf/