Andrew Onischuk created AMBARI-21379:
----------------------------------------

             Summary: Ambari Agent doesn't start as non-root user with 
"ambari-agent start" logged in as root
                 Key: AMBARI-21379
                 URL: https://issues.apache.org/jira/browse/AMBARI-21379
             Project: Ambari
          Issue Type: Bug
            Reporter: Andrew Onischuk
            Assignee: Andrew Onischuk
             Fix For: 2.5.2


When running Ambari Server and Agents as non-root user, If I logged in as
root, then agent process doesn't start with user mentioned in run_as from
ambari-agent.ini when I run "$ambari-agent start" whereas running "$service
ambari-agent start" launches the agent process with run_as user.

Ambari Server doesn't show this behaviour when logged in as root and running
commands "$ambari-server start" or "$service ambari-server start" always start
with non-root user.

Locally tested with Ambari 2.4.2.0 version





--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to