diff --git a/NEWS b/NEWS index e863e0218c57ff9e90188d7d65c91b7d65885440..371908e880aba4ae41da079a150dc408799d667f 100644 --- a/NEWS +++ b/NEWS @@ -53,6 +53,7 @@ documents those changes that are of interest to users and administrators. testing a job's memory request. -- Fix issue where multi-node job steps on cloud nodes wouldn't finish cleaning up until the end of the job (rather than the end of the step). + -- Fix packing pack_jobid in an sbcast. * Changes in Slurm 19.05.0rc1 ============================= diff --git a/src/common/slurm_cred.c b/src/common/slurm_cred.c index 77fddcb81c4d0a91179d9641b665fa6b2b55dee4..243fcb293839c99336893741e7d82456ab4ab363 100644 --- a/src/common/slurm_cred.c +++ b/src/common/slurm_cred.c @@ -2235,10 +2235,11 @@ unpack_error: static void _pack_sbcast_cred(sbcast_cred_t *sbcast_cred, Buf buffer, uint16_t protocol_version) { - if (protocol_version >= SLURM_18_08_PROTOCOL_VERSION) { + if (protocol_version >= SLURM_19_05_PROTOCOL_VERSION) { pack_time(sbcast_cred->ctime, buffer); pack_time(sbcast_cred->expiration, buffer); pack32(sbcast_cred->jobid, buffer); + pack32(sbcast_cred->pack_jobid, buffer); pack32(sbcast_cred->uid, buffer); pack32(sbcast_cred->gid, buffer); packstr(sbcast_cred->user_name, buffer); @@ -2481,10 +2482,11 @@ sbcast_cred_t *unpack_sbcast_cred(Buf buffer, uint16_t protocol_version) uint32_t uint32_tmp; sbcast_cred = xmalloc(sizeof(struct sbcast_cred)); - if (protocol_version >= SLURM_18_08_PROTOCOL_VERSION) { + if (protocol_version >= SLURM_19_05_PROTOCOL_VERSION) { safe_unpack_time(&sbcast_cred->ctime, buffer); safe_unpack_time(&sbcast_cred->expiration, buffer); safe_unpack32(&sbcast_cred->jobid, buffer); + safe_unpack32(&sbcast_cred->pack_jobid, buffer); safe_unpack32(&sbcast_cred->uid, buffer); safe_unpack32(&sbcast_cred->gid, buffer); safe_unpackstr_xmalloc(&sbcast_cred->user_name, &uint32_tmp,