Replies: 3 comments 3 replies
-
You mean like in the profile? |
Beta Was this translation helpful? Give feedback.
-
To run strace inside of the sandbox you need For straceing firejail too, see https://github.com/netblue30/firejail/wiki/Debugging-Firejail#strace |
Beta Was this translation helpful? Give feedback.
-
Yes, If you use it instead of strace, what is the output in trace.txt? |
Beta Was this translation helpful? Give feedback.
-
Hi!
is there a general way to troubleshoot a containerized program, when it needs certain files, but you're not quite sure which?
specifically, i'm trying to fix my visual studio code. it mostly works, but when i launch a terminal inside code, i can tell from my zsh prompt that it's not loading my profile correctly.
i have a decent understanding of which files are needed, so therefore i added these to my code.local:
i also found the
--keep-shell-rc
option, so now instead of runningcode
i run/usr/bin/firejail --keep-shell-rc /usr/bin/code
(BTW is there a way to make this option the default, at least for code? so i don't need to run such a complicated command)but still, my prompt looks like a standard prompt.
what i think would be nice for cases like these is an overview of:
i tried to use
strace
for this job, but:maybe i should run
/usr/bin/firejail --keep-shell-rc /usr/bin/strace /usr/bin/code
so i didand i added the following to my code.profile:
so i should be able to run code via strace
but that results in
Beta Was this translation helpful? Give feedback.
All reactions