-
Notifications
You must be signed in to change notification settings - Fork 54
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
use proot with a recent kernel (4.8.4 and above) I got a segv #25
Comments
Hi Tom, thx for your feedback. Did you test it? I was testing it a month ago and it was still a problem. |
Tested less than a day but I'm using it on a rockstor system (centos7 with new kernel and btrfs and docker). The docker apps listed and I tried to pass custom commands via -e but couldn't tell if they worked. However the base functionality worked! I had to use 172.16.0.1 as the server ip since I'm running the server on the same system as a docker container (I know you can force the ip but using the docker networking ip locally works fine.) external systems just use the rockstor (centos7 nas) as the ip. I've made a docker json to run the server as a "rockon" and plan to add the agent. What else can I test with the agent? |
Try to verify these zabbix items pls: |
Confirmed I can see the following
docker.cpu/<name>
I see entries for containers for
vfs.fs.size and others
For the system i see net.if entries including veth but I don’t see those tagged to the containers.
… On Mar 22, 2017, at 2:12 PM, Jan Garaj ***@***.***> wrote:
Try to verify these zabbix items pls: docker.discovery, docker.cpu[/<some_container_name>,user], vfs.fs.discovery, net.if.discovery.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub <#25 (comment)>, or mute the thread <https://github.com/notifications/unsubscribe-auth/AF4Vgf7tQAb5SWoTzv7e4g75FeWrkHyHks5roWScgaJpZM4MknRW>.
|
I've retested
Unfortunately, it's not a proper workaround. I will add a note to the Readme. |
kernel 4.9.8-040908-generic Result: proot info: pid 9: terminated with signal 11 |
I wonder if this works on centos7 vs ubuntu?
…Sent from my iPhone
On Mar 29, 2017, at 12:01 AM, Anton Gubarev ***@***.***> wrote:
docker run
--name=dockbix-agent-xxl
--net=host
--privileged
-v /:/rootfs
-v /var/run:/var/run
-e "ZA_Server=ip"
-e "ROOT_NO_SECCOMP=1"
-e "ZA_ServerActive=ip"
-d monitoringartist/dockbix-agent-xxl-limited:latest
kernel 4.9.8-040908-generic
OS Ubuntu 16.04.1 LTS
Result: proot info: pid 9: terminated with signal 11
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.
|
Probably this issue should be reopened, because the problem still exists?
|
Nope, because this issue is not in this code. It's in the README as known issue. Also I mentioned it above |
So this is a bug in Docker or the Linux kernel itself? Would it work again with a newer kernel? Thanks for your work and support @jangaraj! |
proot issue proot-me/proot#106 Safe solution: use https://github.com/monitoringartist/zabbix-docker-monitoring on host directly = don't run zabbix agent in the container. |
-e "PROOT_NO_SECCOMP=1" works fine for me, I'm getting all metrics. |
As a known issue, you get a segv with a kernel higher than 4.8.4
If you would update your README to include the following information it would eliminate your known issue
adding -e "ROOT_NO_SECCOMP=1" to disable SEGV it will work (of course you disable SEGV though).
Issue is brought up here - proot-me/proot#106
The text was updated successfully, but these errors were encountered: