-
Notifications
You must be signed in to change notification settings - Fork 905
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: do the inspector after forking for daemon mode #731
Conversation
confirmed this works, however the |
86d202e
to
1de866a
Compare
Thanks @mfdii forgot that one! Updated PTAL |
I compiled packages for those who want to test this on x86_64: DEB RPM TAR.GZ |
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.
🔥
LGTM label has been added. Git tree hash: bf8517c89df1066f4a32520999a54a6c4d0683c3
|
/approve |
Pls rebase and I'll merge this! Thanks @fntlnz :) Nevermind, done by myself. |
Signed-off-by: Lorenzo Fontana <lo@linux.com>
1de866a
to
7ffe5f1
Compare
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.
🔥
LGTM label has been added. Git tree hash: 22dad3ec4ea2027e434ca43c6a2dcc7271152c18
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: leodido, mfdii The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
/approved |
What type of PR is this?
/kind bug
Any specific area of the project related to this PR?
/area engine
What this PR does / why we need it:
When falco is started in daemon node, it does not carry the threads related to container metadata and in general all the other threads done before the fork because
fork
only carries the main thread.This solves that problem by moving all the thread openings after fork.
Which issue(s) this PR fixes:
Fixes #716
Special notes for your reviewer:
Here are packages to test:
DEB
Download: https://falco-dev-public.s3.amazonaws.com/pr-731/falco-fntlnz-test-x86_64.deb
Sha256: 1586eea70cd750f730341a0dfa83275d7893fa5aca0c0f0929d0b3df5557c000 falco-fntlnz-test-x86_64.deb
RPM
Download: https://falco-dev-public.s3.amazonaws.com/pr-731/falco-fntlnz-test-x86_64.rpm
Sha256: 60c8eda61db76d50e78403c73304c2d77dff6fe62901852bf995222b81e81abc falco-fntlnz-test-x86_64.rpm
TAR.GZ
Download: https://falco-dev-public.s3.amazonaws.com/pr-731/falco-fntlnz-test-x86_64.tar.gz
Sha256: 4b6917d1369b55d757e9eaa6c4e0b9b7e915c279611850c6c6e63a2a4cd095a8 falco-fntlnz-test-x86_64.tar.gz
Does this PR introduce a user-facing change?: