Commit 401d1b47 authored by Marshall Garey's avatar Marshall Garey Committed by Tim Wickberg
Browse files

Fix handling of 'slurmd -f' by setting SLURM_CONF earlier.

Plugins reading in their own config files rely on the SLURM_CONF
environment variable pointing to the appropriate directory,
otherwise they will fall back to the build in sysconfdir path.

Set the environment variable early enough so that the -f flag
operates correctly, but not before conf->conffile has definitely
been set. Remove the setenv call that happens before the first
slurmstepd is fork()'d as it is now redundant.

Bug 4774.
parent a36b8a4d
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment