ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrew Onischuk" <aonis...@hortonworks.com>
Subject Review Request 37757: Installing Ambari-2.1.0 removes /etc/sudoers.d/ambari-agent file
Date Tue, 25 Aug 2015 11:52:30 GMT

-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/37757/
-----------------------------------------------------------

Review request for Ambari and Vitalyi Brodetskyi.


Bugs: AMBARI-12870
    https://issues.apache.org/jira/browse/AMBARI-12870


Repository: ambari


Description
-------

As part of a prior fix, the file got removed from the rpm package. This has
the side effect of user edited file getting removed during upgrade.

Modify Ambari upgrade logic to not remove `/etc/sudoers.d/ambari-agent` and if
that is not possible at least make a copy of the file and save a backup.


Diffs
-----

  ambari-agent/src/main/package/rpm/preinstall.sh fc6719b 

Diff: https://reviews.apache.org/r/37757/diff/


Testing
-------

mvn clean test


Thanks,

Andrew Onischuk


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