From 2ae816e2f95397a17a4a2ecb97a74cf6f6df3ea6 Mon Sep 17 00:00:00 2001 From: "Jason C. Nucciarone" Date: Tue, 11 Jun 2024 13:41:29 -0400 Subject: [PATCH] refactor: set default munge socket path at compile Signed-off-by: Jason C. Nucciarone --- overlays/sbin/slurmd.wrapper | 1 - snap/snapcraft.yaml | 1 + 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/overlays/sbin/slurmd.wrapper b/overlays/sbin/slurmd.wrapper index 3840522..0bdfc43 100755 --- a/overlays/sbin/slurmd.wrapper +++ b/overlays/sbin/slurmd.wrapper @@ -18,7 +18,6 @@ if [ -n "${SLURMD_CONFIG_SERVER}" ]; then "${SNAP}"/sbin/slurmd \ - --authinfo "socket=${SNAP_COMMON}/run/munge/munged.socket.2" \ --conf-server "${SLURMD_CONFIG_SERVER}" \ -d "${SNAP}/sbin/slurmstepd" \ -L "${SNAP_COMMON}/var/log/slurm/slurmd.conf" -D diff --git a/snap/snapcraft.yaml b/snap/snapcraft.yaml index dd95ed2..fce6b5a 100644 --- a/snap/snapcraft.yaml +++ b/snap/snapcraft.yaml @@ -184,6 +184,7 @@ parts: - libbz2-1.0 autotools-configure-parameters: - --prefix=/ + - --with-munge-socket=/var/snap/${SNAPCRAFT_PROJECT_NAME}/common/run/munge/munged.socket.2 - --with-crypto-lib=openssl slurm: