-
Notifications
You must be signed in to change notification settings - Fork 4.9k
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
Init script hangs when executed over SSH #1394
Comments
Hello, As a quick workaround in the init script (line 61 on ubuntu), I replaced : |
@frederic-jomedia looks like we already have that change: https://github.com/elastic/beats/blob/master/dev-tools/packer/platforms/debian/init.j2#L61 I seem to remember we add it at some point, perhaps you tried a while ago? Or you mean the change in the other direction? |
My bad, the replacement was actually : but I was wrong. it returned true but filebeat did not start. |
fiorix/go-daemon#7 was just merged, so this should be fixed with the next release. |
Easiest way to reproduce, do something like this:
where the target host is a centos6 machine. The SSH session stays open forever instead of returning after starting topbeat in background. I tracked this to go-daemon and opened a PR that I think should fix the issue: fiorix/go-daemon#7
This ticket is to make sure we incorporate the fix when it's merged upstream.
The text was updated successfully, but these errors were encountered: