View | Details | Raw Unified | Return to ticket 2609 | Differences between
and this patch

Collapse All | Expand All

(-)a/NEWS (+1 lines)
Lines 48-53 documents those changes that are of interest to users and administrators. Link Here
48
    --ntasks-per-core options in task binding.
48
    --ntasks-per-core options in task binding.
49
 -- slurmd - do not print ClusterName when using 'slurmd -C'.
49
 -- slurmd - do not print ClusterName when using 'slurmd -C'.
50
 -- Correct a bitmap test function (used only by the select/bluegene plugin).
50
 -- Correct a bitmap test function (used only by the select/bluegene plugin).
51
 -- Do not propagate SLURM_UMASK environment variable to batch script.
51
52
52
* Changes in Slurm 16.05.5
53
* Changes in Slurm 16.05.5
53
==========================
54
==========================
(-)a/doc/man/man1/sbatch.1 (-3 lines)
Lines 1995-2003 SLURM_TOPOLOGY_ADDR. Each component will be identified as Link Here
1995
either "switch" or "node".  A period is  used  to separate each
1995
either "switch" or "node".  A period is  used  to separate each
1996
hardware component type.
1996
hardware component type.
1997
.TP
1997
.TP
1998
\fBSLURM_UMASK\fR
1999
The \fIumask\fR in effect when the job was submitted.
2000
.TP
2001
\fBSLURMD_NODENAME\fR
1998
\fBSLURMD_NODENAME\fR
2002
Name of the node running the job script.
1999
Name of the node running the job script.
2003
2000
(-)a/src/slurmd/slurmstepd/ulimits.c (+3 lines)
Lines 191-196 set_umask(stepd_step_rec_t *job) Link Here
191
	}
191
	}
192
192
193
	mask = strtol(val, (char **)NULL, 8);
193
	mask = strtol(val, (char **)NULL, 8);
194
	if ((job->stepid == SLURM_EXTERN_CONT) ||
195
	    (job->stepid == SLURM_BATCH_SCRIPT))
196
		unsetenvp(job->env, "SLURM_UMASK");
194
	umask(mask);
197
	umask(mask);
195
	return SLURM_SUCCESS;
198
	return SLURM_SUCCESS;
196
}
199
}

Return to ticket 2609