Description of problem:
The cacti config file in /usr/share/cacti/include/config.php is not marked as a config file in the rpm so every update replaces it and breaks systems where the user/password for the database is changed from the default
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Install cacti from EPEL6
2. Amend /usr/share/cacti/include/config.php to reflect your own db username etc
3. Wait for a yum update to come along and cacti stops working
File is replaced on yum update cacti
File should be marked as config so it is not replaced
Hi Trevor, thanks very much for the bug report.
In a traditional upstream tarball you'd typically edit the config.php file, but the Red Hat package works slightly differently. You should be updating /etc/cacti/db.php instead. That file is indeed marked as noreplace in the RPM.
You can find out more information about the Red Hat package by reading the file at /usr/share/doc/cacti-*/docs/README.fedora.
Since the expectation is that you'd edit /etc/cacti/db.php instead, I'm going to consider this issue resolved. Please re-open if you disagree. Thanks again for your contribution and thanks for using the package.