You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
When starting zeek:arm-64 (version 4256b0eea590) as a container in Podman, the container shuts down immediately after throwing an error:
Podman's not supported yet, but we're working on it. I'm not going to chase this down until that's happening. At first glance, though, it looks like supervisord is missing some of the environment variables. I'd recommend checking the docker-compose file for whatever the .env files are that that container needs, and make sure you've set them as described in the documentation.
Once the podman support is done and built into the control scripts, also note that the supported way for starting and stopping malcolm is to use the control scripts.
I'm going to close this issue for now, but once podman is supported if things are still broken feel free to reopen.
Describe the bug
When starting zeek:arm-64 (version 4256b0eea590) as a container in Podman, the container shuts down immediately after throwing an error:
usermod: no changes root uid=0(root) gid=0(root) groups=0(root) Error: Format string 'python3 /usr/local/bin/pcap_zeek_processor.py %(ENV_PCAP_PIPELINE_VERBOSITY)s\n--start-sleep 10\n--threads %(ENV_ZEEK_AUTO_ANALYZE_PCAP_THREADS)s\n--publisher "%(ENV_PCAP_MONITOR_HOST)s"\n--pcap-directory /pcap/processed\n--node "%(ENV_PCAP_NODE_NAME)s"\n--zeek /opt/zeek/bin/zeek-offline\n--extra-tags "%(ENV_EXTRA_TAGS)s"\n--autotag "%(ENV_AUTO_TAG)s"\n--autozeek "%(ENV_ZEEK_AUTO_ANALYZE_PCAP_FILES)s"\n--forcezeek "%(ENV_ZEEK_ROTATED_PCAP)s"\n--extract "%(ENV_ZEEK_EXTRACTOR_MODE)s"\n--zeek-directory /zeek/upload' for 'program:pcap-zeek.command' contains names ('ENV_EXTRA_TAGS') which cannot be expanded. Available names: ENV_AUTO_TAG, ENV_BUILD_DATE, ENV_CCACHE_COMPRESS, ENV_CCACHE_DIR, ENV_DEBIAN_FRONTEND, ENV_DEFAULT_GID, ENV_DEFAULT_UID, ENV_HOME, ENV_HOSTNAME, ENV_LC_CTYPE, ENV_MAIL, ENV_MALCOLM_VERSION, ENV_PATH, ENV_PCAP_FILTER, ENV_PCAP_IFACE, ENV_PCAP_IFACE_TWEAK, ENV_PCAP_MONITOR_HOST, ENV_PCAP_NODE_NAME, ENV_PCAP_PIPELINE_VERBOSITY, ENV_PGROUP, ENV_PUSER, ENV_PUSER_CHOWN, ENV_PUSER_PRIV_DROP, ENV_PWD, ENV_PYTHONDONTWRITEBYTECODE, ENV_PYTHONUNBUFFERED, ENV_SHLVL, ENV_SUPERCRONIC_CRONTAB, ENV_SUPERCRONIC_URL, ENV_SUPERCRONIC_VERSION, ENV_TERM, ENV_USER, ENV_VCS_REVISION, ENV_ZEEK_AUTO_ANALYZE_PCAP_FILES, ENV_ZEEK_AUTO_ANALYZE_PCAP_THREADS, ENV_ZEEK_CUSTOM_PATH, ENV_ZEEK_DIR, ENV_ZEEK_DISABLE_BEST_GUESS_ICS, ENV_ZEEK_DISABLE_HASH_ALL_FILES, ENV_ZEEK_DISABLE_LOG_PASSWORDS, ENV_ZEEK_DISABLE_SPICY_IPSEC, ENV_ZEEK_DISABLE_SPICY_LDAP, ENV_ZEEK_DISABLE_SPICY_OPENVPN, ENV_ZEEK_DISABLE_SPICY_QUIC, ENV_ZEEK_DISABLE_SPICY_STUN, ENV_ZEEK_DISABLE_SPICY_TAILSCALE, ENV_ZEEK_DISABLE_SPICY_TFTP, ENV_ZEEK_DISABLE_SPICY_WIREGUARD, ENV_ZEEK_DISABLE_SSL_VALIDATE_CERTS, ENV_ZEEK_DISABLE_STATS, ENV_ZEEK_DISABLE_TRACK_ALL_ASSETS, ENV_ZEEK_EXTRACTOR_MODE, ENV_ZEEK_EXTRACTOR_PATH, ENV_ZEEK_INTEL_FEED_SINCE, ENV_ZEEK_INTEL_FEED_SSL_CERTIFICATE_VERIFICATION, ENV_ZEEK_INTEL_ITEM_EXPIRATION, ENV_ZEEK_INTEL_PATH, ENV_ZEEK_INTEL_REFRESH_CRON_EXPRESSION, ENV_ZEEK_INTEL_REFRESH_ON_DEPLOY, ENV_ZEEK_INTEL_REFRESH_ON_ENTRYPOINT, ENV_ZEEK_INTEL_REFRESH_THREADS, ENV_ZEEK_LIVE_CAPTURE, ENV_ZEEK_PCAP_PROCESSOR, ENV_ZEEK_ROTATED_PCAP, ENV_ZEEK_SYNCHROPHASOR_DETAILED, ENV_ZEEK_THIRD_PARTY_PLUGINS_GREP, ENV_ZEEK_THIRD_PARTY_SCRIPTS_GREP, ENV_ZEEK_VERSION, ENV_container, group_name, here, host_node_name, numprocs, process_num, program_name in section 'program:pcap-zeek' (file: '/etc/supervisord.conf') For help, use /usr/bin/supervisord -h
To Reproduce
Steps to reproduce the behavior:
Expected behavior
At step 8 above, I expect to have a tty session to the container.
**Screenshots and/or Logs **
Malcolm Version:
(sha256:36633a755fde50af2b2c0a7e1781221df381a5903217500fe2b47b6f8d1b2340)
How are you running Malcolm?
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: