-
Notifications
You must be signed in to change notification settings - Fork 376
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
filename monitoring not recgonizing/printing out binary cmd correctly #1707
Comments
Thank you for the report. Could you please also provide bugtool info? (see: https://tetragon.io/docs/troubleshooting/#single-node-bugtool) |
OK, I see. Does it mean I need to do some cfgs to resolve it? If yes, how? |
Currently, there is no support for non-utf8 binary names. non-utf8 characters will be transformed to "�". Are you using binaries with non-utf8 names in your tests? |
I google a bit on this. According to this ticket, the
Could you show the result of your environment? Any other ideas? Tks. |
I believe this is not related to the locale, but the filenames which do not necessarily have to follow whatever locale is defined in the environment. |
Could you provide a way to reproduce this easily? E.g., in a new vm environment or in a kind/minikube cluster? |
Having similar issue with plain CentOS 9, newest Kubeadm-managed Kubernetes cluster.
The binary names get completely mangled, in more events than not. (it's a tiny teaching cluster). This happens in all outputs, the in-container CLI, container stdout and logs on the filesystem. |
Sorry, I can't provide that. I'm running it in embedded environment.
|
I just merged #1902 which might be related to those, not exactly sure but this is plausible! |
Hello, also had same problem on v1.0.0 and still facing it on a fresh Rocky9 and tetragon v1.0.2:
Linux rocky9 5.14.0-362.24.1.el9_3.x86_64 |
Good day,
Rocky Linux release 9.3 (Blue Onyx) Also in Almalinux. These are the locale settings |
Attempted on latest by following commands below and still had issues helm install \
--namespace kube-system \
--set tetragon.image.override=quay.io/cilium/tetragon-ci:latest \
--set tetragonOperator.image.override=quay.io/cilium/tetragon-operator-ci:latest \
tetragon ./install/kubernetes/tetragon |
Thanks everyone for this report! Manged to reproduce this and I believe I have a fix: #2399. |
What happened?
env:
Embedded Linux
Linux tegra-ubuntu 5.10.120-rt70-tegra #1 SMP PREEMPT RT Wed Oct 25 10:07:33 CST 2023 aarch64 aarch64 aarch64 GNU/Linux
config:
Using example config filename_monitoring.yaml. I comment out 'security_path_truncate' part, because it's not in /proc/kallsyms. I put it on this path:
/etc/tetragon/tetragon.tp.d/filename_monitoring.yaml
run:
$ tetragon &
then:
$ tetra getevents -o compact
In another console:
/etc/tetragon/tetragon.tp.d# cat filename_monitoring.yaml
error:
The command cat cannot be recgonize/printed out correctly.
Any idea what may be the problem?
Thanks.
Tetragon Version
Kernel Version
Linux tegra-ubuntu 5.10.120-rt70-tegra #1 SMP PREEMPT RT Wed Oct 25 10:07:33 CST 2023 aarch64 aarch64 aarch64 GNU/Linux
Kubernetes Version
NA
Bugtool
tetragon-bugtool.tar.gz
Relevant log output
The text was updated successfully, but these errors were encountered: