From fe27abad5b07d1c031764c84ceb6e7f22f8c4a86 Mon Sep 17 00:00:00 2001 From: Moe Jette <jette1@llnl.gov> Date: Fri, 27 Dec 2002 17:28:04 +0000 Subject: [PATCH] slurmctld agent passed node address instead of name in one place, where unexpected job is reported by slurmd and slurmctld sends the job a SIGKILL. --- src/slurmctld/job_mgr.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/slurmctld/job_mgr.c b/src/slurmctld/job_mgr.c index 6a789e8a9c6..094e291da4a 100644 --- a/src/slurmctld/job_mgr.c +++ b/src/slurmctld/job_mgr.c @@ -2615,7 +2615,7 @@ _signal_job_on_node(uint32_t job_id, uint16_t step_id, int signum, memcpy(agent_info->slurm_addr, &node_ptr->slurm_addr, sizeof(slurm_addr)); agent_info->node_names = xmalloc(MAX_NAME_LEN); - strncpy(agent_info->node_names, node_ptr->comm_name, MAX_NAME_LEN); + strncpy(agent_info->node_names, node_ptr->name, MAX_NAME_LEN); agent_info->msg_type = REQUEST_KILL_TASKS; agent_info->msg_args = signal_req; -- GitLab