You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@metron.apache.org by "Jon Zeolla (JIRA)" <ji...@apache.org> on 2019/02/15 14:20:01 UTC

[jira] [Updated] (METRON-2004) Bro plugin kafka docker_execute_shell.sh workdir should be unspecified

     [ https://issues.apache.org/jira/browse/METRON-2004?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jon Zeolla updated METRON-2004:
-------------------------------
    Summary: Bro plugin kafka docker_execute_shell.sh workdir should be unspecified  (was: Bro plugin kafka "docker_execute_shell.sh" workdir should be unspecified)

> Bro plugin kafka docker_execute_shell.sh workdir should be unspecified
> ----------------------------------------------------------------------
>
>                 Key: METRON-2004
>                 URL: https://issues.apache.org/jira/browse/METRON-2004
>             Project: Metron
>          Issue Type: Bug
>            Reporter: Jon Zeolla
>            Assignee: Jon Zeolla
>            Priority: Major
>
> Currently if you attempt to attach to the kafka container using `docker_execute_shell.sh` it will fail because it hard codes the /root working directory, but in this container the user is kafka, not root.
> $ ./docker_execute_shell.sh --container-name=kafka
> Running build_bro_plugin_docker with
> CONTAINER_NAME = kafka
> ===================================================
> OCI runtime exec failed: exec failed: container_linux.go:344: starting container process caused "chdir to cwd (\"/root\") set in config.json failed: permission denied": unknown



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)