----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/60559/#review179345 -----------------------------------------------------------
Ship it! Ship It! - Vitalyi Brodetskyi On Червень 30, 2017, 8:24 до полудня, Andrew Onischuk wrote: > > ----------------------------------------------------------- > This is an automatically generated e-mail. To reply, visit: > https://reviews.apache.org/r/60559/ > ----------------------------------------------------------- > > (Updated Червень 30, 2017, 8:24 до полудня) > > > Review request for Ambari and Vitalyi Brodetskyi. > > > Bugs: AMBARI-21379 > https://issues.apache.org/jira/browse/AMBARI-21379 > > > Repository: ambari > > > Description > ------- > > 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 > > > Diffs > ----- > > ambari-agent/conf/unix/install-helper.sh ee5b62b > ambari-agent/etc/init.d/ambari-agent 044f86d > ambari-agent/pom.xml 8de433c > ambari-agent/src/packages/tarball/all.xml 363941a > > > Diff: https://reviews.apache.org/r/60559/diff/1/ > > > Testing > ------- > > mvn clean test > > > Thanks, > > Andrew Onischuk > >