diff --git a/almalinux-10/Containerfile b/almalinux-10/Containerfile index c7fa8e7..f7998e8 100644 --- a/almalinux-10/Containerfile +++ b/almalinux-10/Containerfile @@ -28,6 +28,14 @@ RUN dnf update -y \ && dnf remove -y selinux-policy \ && dnf clean all +RUN systemctl unmask \ + console-getty.service \ + dev-hugepages.mount \ + getty.target \ + sys-fs-fuse-connections.mount \ + systemd-logind.service \ + systemd-remount-fs.service + RUN chmod u+w / # https://github.com/openhpc/ohpc/issues/2061 # remove unused dynamic system user RUN userdel systemd-oom && \ diff --git a/almalinux-10/Containerfile-fixed b/almalinux-10/Containerfile-fixed index 2f77a13..81c2f6f 100644 --- a/almalinux-10/Containerfile-fixed +++ b/almalinux-10/Containerfile-fixed @@ -34,6 +34,14 @@ RUN dnf update -y \ && dnf remove -y selinux-policy \ && dnf clean all +RUN systemctl unmask \ + console-getty.service \ + dev-hugepages.mount \ + getty.target \ + sys-fs-fuse-connections.mount \ + systemd-logind.service \ + systemd-remount-fs.service + RUN chmod u+w / # https://github.com/openhpc/ohpc/issues/2061 # remove unused dynamic system user RUN userdel systemd-oom && \ diff --git a/almalinux-10/Containerfile-vault b/almalinux-10/Containerfile-vault index c30217b..95c23e6 100644 --- a/almalinux-10/Containerfile-vault +++ b/almalinux-10/Containerfile-vault @@ -35,6 +35,14 @@ RUN dnf update -y \ && dnf remove -y selinux-policy \ && dnf clean all +RUN systemctl unmask \ + console-getty.service \ + dev-hugepages.mount \ + getty.target \ + sys-fs-fuse-connections.mount \ + systemd-logind.service \ + systemd-remount-fs.service + RUN chmod u+w / # https://github.com/openhpc/ohpc/issues/2061 # remove unused dynamic system user RUN userdel systemd-oom && \ diff --git a/almalinux-9/Containerfile b/almalinux-9/Containerfile index ce0d0ae..b05e2fa 100644 --- a/almalinux-9/Containerfile +++ b/almalinux-9/Containerfile @@ -29,6 +29,14 @@ RUN dnf update -y \ && dnf remove -y selinux-policy \ && dnf clean all +RUN systemctl unmask \ + console-getty.service \ + dev-hugepages.mount \ + getty.target \ + sys-fs-fuse-connections.mount \ + systemd-logind.service \ + systemd-remount-fs.service + RUN chmod u+w / # https://github.com/openhpc/ohpc/issues/2061 COPY excludes /etc/warewulf/ diff --git a/almalinux-9/Containerfile-fixed b/almalinux-9/Containerfile-fixed index 976b191..c4dc22d 100644 --- a/almalinux-9/Containerfile-fixed +++ b/almalinux-9/Containerfile-fixed @@ -35,6 +35,14 @@ RUN dnf update -y \ && dnf remove -y selinux-policy \ && dnf clean all +RUN systemctl unmask \ + console-getty.service \ + dev-hugepages.mount \ + getty.target \ + sys-fs-fuse-connections.mount \ + systemd-logind.service \ + systemd-remount-fs.service + RUN chmod u+w / # https://github.com/openhpc/ohpc/issues/2061 COPY excludes /etc/warewulf/ diff --git a/almalinux-9/Containerfile-vault b/almalinux-9/Containerfile-vault index 766fe38..26f979a 100644 --- a/almalinux-9/Containerfile-vault +++ b/almalinux-9/Containerfile-vault @@ -36,6 +36,14 @@ RUN dnf update -y \ && dnf remove -y selinux-policy \ && dnf clean all +RUN systemctl unmask \ + console-getty.service \ + dev-hugepages.mount \ + getty.target \ + sys-fs-fuse-connections.mount \ + systemd-logind.service \ + systemd-remount-fs.service + RUN chmod u+w / # https://github.com/openhpc/ohpc/issues/2061 RUN userdel systemd-oom # remove unused dynamic system user