Skip to content

Commit

Permalink
Merge pull request #5496 from baude/preemptive
Browse files Browse the repository at this point in the history
eat signal 23 in signal proxy
  • Loading branch information
openshift-merge-robot committed Mar 14, 2020
2 parents 16536af + e6fba1e commit 8b07ad1
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion pkg/adapter/sigproxy_linux.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,10 @@ func ProxySignals(ctr *libpod.Container) {
for s := range sigBuffer {
// Ignore SIGCHLD and SIGPIPE - these are mostly likely
// intended for the podman command itself.
if s == syscall.SIGCHLD || s == syscall.SIGPIPE {
// SIGURG was added because of golang 1.14 and its preemptive changes
// causing more signals to "show up".
// https://github.com/containers/libpod/issues/5483
if s == syscall.SIGCHLD || s == syscall.SIGPIPE || s == syscall.SIGURG {
continue
}

Expand Down

0 comments on commit 8b07ad1

Please sign in to comment.