You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@nifi.apache.org by "Eric Yang (JIRA)" <ji...@apache.org> on 2019/03/15 16:45:00 UTC

[jira] [Created] (NIFI-6125) NiFi Docker image does not start when PATH variable does not match default

Eric Yang created NIFI-6125:
-------------------------------

             Summary: NiFi Docker image does not start when PATH variable does not match default
                 Key: NIFI-6125
                 URL: https://issues.apache.org/jira/browse/NIFI-6125
             Project: Apache NiFi
          Issue Type: Bug
            Reporter: Eric Yang


NiFI Docker image entrypoint startup.sh script does not have -l flag to enforce login with /etc/profile or setup PATH variable.  Some command such as "hostname" and "sed" depends on the version on the PATH variable.  If someone start docker image with --env-file flag to override PATH variable to run hostname and sed from alternate mounted location.  This allows user to hijack the startup script unintentionally.



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