Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions almalinux-10/Containerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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 && \
Expand Down
8 changes: 8 additions & 0 deletions almalinux-10/Containerfile-fixed
Original file line number Diff line number Diff line change
Expand Up @@ -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 && \
Expand Down
8 changes: 8 additions & 0 deletions almalinux-10/Containerfile-vault
Original file line number Diff line number Diff line change
Expand Up @@ -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 && \
Expand Down
8 changes: 8 additions & 0 deletions almalinux-9/Containerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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/
Expand Down
8 changes: 8 additions & 0 deletions almalinux-9/Containerfile-fixed
Original file line number Diff line number Diff line change
Expand Up @@ -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/
Expand Down
8 changes: 8 additions & 0 deletions almalinux-9/Containerfile-vault
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down