Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

imp: implement signal forwarding specification from RFC 15 #185

Closed
grondo opened this issue Oct 18, 2024 · 1 comment
Closed

imp: implement signal forwarding specification from RFC 15 #185

grondo opened this issue Oct 18, 2024 · 1 comment

Comments

@grondo
Copy link
Contributor

grondo commented Oct 18, 2024

The RFC 15 signal handling section now specifies:

To enable the instance owner to fully clean up when the job shell is unable to do so, the IMP SHALL handle SIGUSR1 as a surrogate for SIGKILL. Upon receipt of this signal, the IMP SHOULD deliver SIGKILL to all processes in the job’s container, including the job shell.

The IMP shall get the basename of the current cgroup directory at startup. If the directory begins with “imp-shell”, then the IMP SHALL deliver SIGKILL to all PIDs listed in cgroup.procs. Otherwise, the IMP SHALL deliver SIGKILL only to its direct child and optionally MAY include descendants.

This needs to be implemented.

@garlick
Copy link
Member

garlick commented Nov 5, 2024

Completed by #186

@garlick garlick closed this as completed Nov 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants