flux-framework / flux-core

core services for the Flux resource management framework
GNU Lesser General Public License v3.0
168 stars 50 forks source link

job-exec: kill multi-user jobs with SIGUSR1 #6406

Closed garlick closed 2 weeks ago

garlick commented 3 weeks ago

Problem: job-exec uses flux imp kill to deliver SIGKILL to the job shell when exhausts job shell methods to get a job to stop, but flux imp kill will soon be deprecated in favor of having the IMP relay signals, with SIGUSR1 as a proxy for SIGKILL per RFC 15.

job-exec should use subprocess_kill() to deliver SIGUSR1 to the IMP for all multi-user jobs.

grondo commented 2 weeks ago

Fixed by a891285656325e20b4a18e3fcae07c4d753973bd