-
Notifications
You must be signed in to change notification settings - Fork 499
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
Unable to strace tini's children processes #181
Comments
I wonder if the
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi,
I am trying to profile containers using
strace
. The command I use is:strace -ff -o /log/trace.log tini -- /entrypoint-wrapper.sh /original-entrypoint.sh
(note-ff
which followsfork
calls). As you can imagine,/entrypoint-wrapper.sh
calls/original-entrypoint.sh
using anexec
call. Both of the scripts are Bash.Looking at the output of the command, I can see
strace
attaching only to the tini process, but to none of its children. Moreover, the/log
directory contains only a single log file for the tini process. The file has a bunch ofwait4
andrt_sigtimedwait
, which I imagine to be signal handling calls used by tini.Running the above command without tini works as expected. How can I
strace
tini's children?Thank you!
The text was updated successfully, but these errors were encountered: