Open Mariuxdeangelo opened 1 year ago
May be related to https://github.com/tern-tools/tern/issues/1189? Does the dockerfile have any type of symlink creation?
Thanks for the issue by the way! I'll take a look.
Thanks for you reply.
I took a look into it. And i don't think that it's the same problem. Somehow tern ends up with some symlinks that assume the container is based on busybox even if this is not the case.
I also checked the Dockerfile of one of this containers and did not found something described in #1189 https://github.com/ngoduykhanh/wireguard-ui/blob/master/Dockerfile
Describe the bug I'm currently trying to scan some containers with tern and have trouble for some because the application runs into an error
ERROR - rootfs - Command failed. cp: not writing through dangling symlink '/root/.tern/temp/mergedir/sbin/ip'
there i find, that ip is a dangling symlink to/bin/busybox
what is odd because i'm working on a archlinux system. I also tried it out on Ubuntu and also in a docker container as described in the README.md. Ip is not the only symlink that is located there that can make issues. I also have seen others like unzip ...I have also seen in the release nodes that something similar with symlinks in Alpine was already fixed in Version 2.2.0 (i use 2.12.0) might be related? #769 https://github.com/search?q=repo%3Atern-tools%2Ftern%20busybox&type=code
I have seen this issue also with other containers:
I would be very happy if somebody could tell me what i'm doing wrong or confirm this behavior.
Error in terminal Here the full command i used to scan the container:
Here also the full Tracelog:
Environment you are running Tern on