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)

Reply via email to