-
Notifications
You must be signed in to change notification settings - Fork 4.4k
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
Consul service panics on journalctl restart #2404
Comments
We've also encountered this problem. Not sure if it matters but we've been running consul as a service too.
EDIT:
|
Reading through the thread over at the Docker project this issue might have been resolved in Consul >= 0.7.0 because Consul was built with golang >= 1.6. #1963 Will try this out and report back. |
In addition to golang update such line has to exist: |
Was unable to reproduce the issue on consul version 0.7.0. However, it still seems like a good idea to add the code that ignores sigpipe signals, so I created a quick PR. |
Calling twice appears to have no adverse effects, however serves to confuse as to what the semantics of such code may be! This seems like it was probably introduced while resolving conflicts during the merge of the fix for hashicorp#2404.
The same vulnerability as with docker: moby/moby#19728
consul version
for ClientClient:
Consul v0.6.3
consul info
for ClientClient:
Description of the Issue (and unexpected/desired result)
consul daemon restarts when journald is restarted
Reproduction steps
systemctl restart systemd-journald.service
The text was updated successfully, but these errors were encountered: