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): 0.8.8b How reproducible: Always 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 Actual results: File is replaced on yum update cacti Expected results: File should be marked as config so it is not replaced Additional info:
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.