ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cs user <>
Subject Apache Ambari - agent recursive chmod on /
Date Fri, 30 Sep 2016 09:57:14 GMT
Hi All,

After attempting to upgrade a number of times now from to
on Centos 7, it appears one of the issues is down to the change in the
Ambari agent startup script.

I compared the contents of the script here:


With the latest version in the github ambari repo. It appears that the
changes which are shown below have not yet been included in the

For example this line is missing in

set -u # fail on unset variables

This results in the script continuing to execute even though some variables
are unset. Even when I make all the modifications to my version of the
script (which stops it from doing the recursive mod on startup), the
AMBARI_PID_DIR is not set, due to this part of the script not returning

export AMBARI_PID_DIR=`get_agent_property piddir`

This only works once you hard code the AMBARI_PID_DIR to the correct

This recursive mod results in my ssh private keys being modified to an
insecure permission level and then ssh refuses to allow me to login after
the agent has been upgraded and restarted.

It also appears to make changes to hadoop which results in the namenodes
failing to start due to a permission error. appears to broken on Centos 7, has anyone else encountered a
similar issue?


  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message