Open priyanka18492 opened 4 years ago
Can you share what you are trying to do using zeekctl inside of the container? I've been meaning to remove it entirely since it usually doesn't make sense in a container environment.
You don't need to use zeekctl in the container to run zeek, it can just be ran from the shell.
Not sure about op, but I want to use zeekctl to manage zeek and run it as if it were a service for ongoing capture. As far as I can tell (and I don't have much experience with it) zeekctl is used to handle log rotation, paths, etc.
https://docs.zeek.org/en/current/frameworks/supervisor.html is what should be used for running zeek in a container
Just to follow up on this with my 2 cents - we should either not include zeekctl in the container, or support it. The current state with it being inside, but not working seems unintuivite, at least :)
Just to note - since I just went through them - this is a duplicate of #7, so this is a commonly raised problem.
yeah.. I know.. I'm torn about what to do about this. just removing the zeekctl bits would simplify the container a bit... and using zeekctl inside of a container is almost definitely a mistake.. but I could see it being useful for training purposes or something.
I just wouldn't want people to actually try to use it to do real work since zeekctl and containers really does not mix.
FWIW, if the python3-pip package is installed then the "queue" dependency is satisfied and zeekctl works.
Hey, I am trying to run zeekctl to deploy a new configuration.. but I get the following error .Please help me out
Traceback (most recent call last): File "./zeekctl", line 13, in
from ZeekControl.zeekctl import ZeekCtl, ZeekControlError, CommandSyntaxError
File "/usr/local/zeek-3.0.0/lib/zeekctl/ZeekControl/zeekctl.py", line 8, in
from ZeekControl import lock
File "/usr/local/zeek-3.0.0/lib/zeekctl/ZeekControl/lock.py", line 4, in
from ZeekControl import config
File "/usr/local/zeek-3.0.0/lib/zeekctl/ZeekControl/config.py", line 9, in
from ZeekControl import py3zeek
File "/usr/local/zeek-3.0.0/lib/zeekctl/ZeekControl/py3zeek.py", line 22, in
from queue import Queue, Empty
ModuleNotFoundError: No module named 'queue'