-
Notifications
You must be signed in to change notification settings - Fork 427
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
Fix SIGURG Handling #5233
Fix SIGURG Handling #5233
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think all engine operation MonitorContainer
for singularity/fakeroot/oci engines should also ignore this signal to not send it to container processes
EDIT: simplest is to ignore it in master process https://github.com/sylabs/singularity/blob/c4a0dc2fbcd0793d2b2bab6f23af1e639cdc71ba/internal/app/starter/master_linux.go#L127 with a call to signal.Ignore
Makes sense.
I believe this solution would still leave a small window of time whereby a To ensure
It's also worth noting that this new In light of all of that, I propose:
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@cclerget can confirm you're good with this as implemented? Will hold off merging until you can weigh in. Thanks! |
@tri-adam LGTM
I still not understand why Go runtime internal didn't handle it internally, they own the signal handler there is |
Ignore
SIGURG
, which is used for non-cooperative goroutine preemption starting with Go 1.14 (more info available here).Fixes #5231