From d65e7360009eea7aa51c58ba944fba7bbf29b4d3 Mon Sep 17 00:00:00 2001 From: "Jason C. Nucciarone" Date: Wed, 12 Jun 2024 12:21:31 -0400 Subject: [PATCH] fix: remove slurm.conf location override from env The patch to `src/common/Makefile.am` sets the default location for slurm.conf to $SNAP_COMMON/etc/slurm/slurm.conf. Having this environment variable around messes with the CLI commands when running in configless mode as these commands will still look for slurm.conf in $SNAP_COMMON/etc/slurm/slurm.conf. Rather than under /var/spool. Note that you will possibly need to set `SlurmdSpoolDir` for the CLI commands to locate the cached slurm.conf when running in configless mode. This option should be set in the main slurm controller. Signed-off-by: Jason C. Nucciarone --- snap/snapcraft.yaml | 1 - 1 file changed, 1 deletion(-) diff --git a/snap/snapcraft.yaml b/snap/snapcraft.yaml index 3e4a38b..c00a25c 100644 --- a/snap/snapcraft.yaml +++ b/snap/snapcraft.yaml @@ -35,7 +35,6 @@ environment: # the necessary dependencies packaged in `site-packages`. # yamllint disable-line rule:line-length PATH: $SNAP/usr/sbin:$SNAP/usr/bin:$SNAP/sbin:$SNAP/bin:$SNAP/usr/local/bin:$SNAP/usr/local/sbin:$PATH - SLURM_CONF: $SNAP_COMMON/etc/slurm/slurm.conf apps: logrotate: