Skip to content
Snippets Groups Projects
Commit 1f8dd89a authored by Moe Jette's avatar Moe Jette
Browse files
parent f158992b
No related branches found
No related tags found
No related merge requests found
...@@ -34,6 +34,8 @@ documents those changes that are of interest to users and admins. ...@@ -34,6 +34,8 @@ documents those changes that are of interest to users and admins.
======================== ========================
-- Make proctrack/linuxproc thread safe, could cause slurmd seg fault. -- Make proctrack/linuxproc thread safe, could cause slurmd seg fault.
-- Propagate umask from srun to spawned tasks. -- Propagate umask from srun to spawned tasks.
-- Fix problem in switch/elan error handling that could hang a slurmd
step manager process.
* Changes in SLURM 0.6.6 * Changes in SLURM 0.6.6
======================== ========================
......
...@@ -1115,6 +1115,7 @@ qsw_prog_init(qsw_jobinfo_t jobinfo, uid_t uid) ...@@ -1115,6 +1115,7 @@ qsw_prog_init(qsw_jobinfo_t jobinfo, uid_t uid)
*/ */
if (elanctrl_open(&handle) != 0) { if (elanctrl_open(&handle) != 0) {
slurm_seterrno(EELAN3CONTROL); slurm_seterrno(EELAN3CONTROL);
_prg_destructor_send(fd, -1);
goto fail; goto fail;
} }
...@@ -1123,6 +1124,7 @@ qsw_prog_init(qsw_jobinfo_t jobinfo, uid_t uid) ...@@ -1123,6 +1124,7 @@ qsw_prog_init(qsw_jobinfo_t jobinfo, uid_t uid)
error("elanctrl_create_cap: %m"); error("elanctrl_create_cap: %m");
slurm_seterrno(EELAN3CREATE); slurm_seterrno(EELAN3CREATE);
/* elanctrl_close(handle); */ /* elanctrl_close(handle); */
_prg_destructor_send(fd, -1);
goto fail; goto fail;
} }
...@@ -1140,6 +1142,7 @@ qsw_prog_init(qsw_jobinfo_t jobinfo, uid_t uid) ...@@ -1140,6 +1142,7 @@ qsw_prog_init(qsw_jobinfo_t jobinfo, uid_t uid)
if ((ctx = elan3_control_open(i)) == NULL if ((ctx = elan3_control_open(i)) == NULL
|| ctx == (void *)-1) { || ctx == (void *)-1) {
slurm_seterrno(EELAN3CONTROL); slurm_seterrno(EELAN3CONTROL);
_prg_destructor_send(fd, -1);
goto fail; goto fail;
} }
...@@ -1151,6 +1154,7 @@ qsw_prog_init(qsw_jobinfo_t jobinfo, uid_t uid) ...@@ -1151,6 +1154,7 @@ qsw_prog_init(qsw_jobinfo_t jobinfo, uid_t uid)
* which function failed? */ * which function failed? */
error("elan3_create(%d): %m", i); error("elan3_create(%d): %m", i);
slurm_seterrno(EELAN3CREATE); slurm_seterrno(EELAN3CREATE);
_prg_destructor_send(fd, -1);
goto fail; goto fail;
} }
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment