Skip to content

Commit

Permalink
Merge pull request #21 from ualberta-rcg/main
Browse files Browse the repository at this point in the history
update
  • Loading branch information
rahimkhoja authored Jan 21, 2025
2 parents 65ad35e + d27dfb2 commit ca03530
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 5 deletions.
2 changes: 0 additions & 2 deletions slurmdbd/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
ca-certificates \
libhwloc-dev \
liblua5.3-dev \
#libmunge-dev \
libnuma-dev \
libpam0g-dev \
libpmix-dev \
Expand Down Expand Up @@ -88,7 +87,6 @@ RUN mkdir -p /usr/src && cd /usr/src && \
chown -R munge:munge /etc/munge /var/run/munge /var/lib/munge /var/log/munge /run/munge && \
cp /opt/software/munge/bin/* /usr/local/bin && \
chmod 700 /var/lib/munge /var/run/munge && \
chmod 750 -R /etc/munge && \
chmod 755 /run/munge

# Build and install PMIx
Expand Down
2 changes: 1 addition & 1 deletion slurmdbd/entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ chown slurm:slurm /etc/slurm/slurmdbd.conf
chmod 600 /etc/slurm/slurmdbd.conf

# Munge
cp /etc/munge/munge.keyfile /etc/munge/munge.key
cp /etc/munge/.secret/munge.keyfile /etc/munge/munge.key
chown munge:munge -R /etc/munge

su -s /bin/bash -c "/opt/software/munge/sbin/munged --foreground --log-file=/var/log/munge/munge.log &" munge
Expand Down
3 changes: 1 addition & 2 deletions slurmdbd/slurmdbd.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -39,12 +39,11 @@ spec:
value: "auth/munge"
volumeMounts:
- name: munge-key
mountPath: /etc/munge/
mountPath: /etc/munge/.secret/
volumes:
- name: munge-key
secret:
secretName: slurm
defaultMode: 0400
items:
- key: munge
path: munge.keyfile
Expand Down

0 comments on commit ca03530

Please sign in to comment.