diff --git a/NEWS b/NEWS index 571184c5c52f39f343fee541a55a0a6537d052c2..cbe0fb3d44e3fafcb66aff9a5a7e34eb9ef6fc47 100644 --- a/NEWS +++ b/NEWS @@ -28,6 +28,7 @@ documents those changes that are of interest to users and admins. -- Convert configuration parameter PrivateData from on/off flag to have separate flags for job, partition, and node data. See "man slurm.conf" for details. + -- Fix bug, failed to load DisableRootJobs configuration parameter. -- Altered sacctmgr to always return a non-zero exit code on error and send error messages to stderr. diff --git a/src/common/read_config.c b/src/common/read_config.c index 80977a1f8823fd60e42859b9419e4a8dd46f1fa6..481189d72699863cbb365997697b273794dc743e 100644 --- a/src/common/read_config.c +++ b/src/common/read_config.c @@ -1593,7 +1593,7 @@ validate_and_set_defaults(slurm_ctl_conf_t *conf, s_p_hashtbl_t *hashtbl) if (!s_p_get_boolean((bool *) &conf->enforce_part_limits, "EnforcePartLimits", hashtbl)) - conf->disable_root_jobs = DEFAULT_ENFORCE_PART_LIMITS; + conf->enforce_part_limits = DEFAULT_ENFORCE_PART_LIMITS; s_p_get_string(&conf->epilog, "Epilog", hashtbl);