Bug 1629438
| Summary: | The 2.0.40-2 release of munin packages on Aug 25th 2018 is broken. | ||
|---|---|---|---|
| Product: | [Fedora] Fedora EPEL | Reporter: | Jerome Steunenberg <jerome.steunenberg> |
| Component: | munin | Assignee: | Kim B. Heino <b> |
| Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | high | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | epel7 | CC: | b, drjohnson1, ingvar, jvanek, marianne |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | x86_64 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | munin-2.0.40-4.fc28 munin-2.0.40-4.fc29 munin-2.0.40-4.el6 munin-2.0.40-4.el7 | Doc Type: | If docs needed, set a value |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2018-09-27 17:28:33 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
|
Description
Jerome Steunenberg
2018-09-16 09:10:32 UTC
1st: Yes, this is major upgrade. Split to nginx and apache subpackages was needed to have better nginx support without requiring apache/httpd. New munin-2.0.40-4 build will keep existing /etc/httpd/conf.d/munin.conf files as ghosts, so they are not removed on update. Upgrade path from 2.0.33 with apache should be simple "yum update" now. 2nd: The error message is because there are no nodes configured and no history data available on vanilla EL7 after simple "yum install". New 2.0.40-4 will again add [localhost] node to config, as did 2.0.33. But you must also start munin-node service and wait 5-10 minutes for data, as in 2.0.33 (do this after step 5). Also, %doc example config files have improved comments and new httpd_cron_graphs.conf example is added. It's simpler to use than httpd_cgi_graphs.conf setup. (More discussion: https://github.com/munin-monitoring/munin/issues/1071) munin-2.0.40-4.el7 has been submitted as an update to Fedora EPEL 7. https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2018-673f52b139 munin-2.0.40-4.fc28 has been submitted as an update to Fedora 28. https://bodhi.fedoraproject.org/updates/FEDORA-2018-6455129fce munin-2.0.40-4.fc29 has been submitted as an update to Fedora 29. https://bodhi.fedoraproject.org/updates/FEDORA-2018-39b27a8592 munin-2.0.40-4.el6 has been submitted as an update to Fedora EPEL 6. https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2018-bf0c049faf Hi, EPEL 6 is broken too. My munin server, who is installed since a long time has the web interface broken since last update to 2.0.40. I haven't been able to find a workaround yet. See https://koji.fedoraproject.org/koji/buildinfo?buildID=1145189 and it's /usr/share/doc/munin-common-2.0.40/httpd_cron_graphs.conf or httpd_cgi_graphs.conf file. munin-2.0.40-4.el7 has been pushed to the Fedora EPEL 7 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2018-673f52b139 munin-2.0.40-4.el6 has been pushed to the Fedora EPEL 6 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2018-bf0c049faf munin-2.0.40-4.fc28 has been pushed to the Fedora 28 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2018-6455129fce munin-2.0.40-4.fc29 has been pushed to the Fedora 29 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2018-39b27a8592 Thank you Kim for the update. I've tested on a vanilla rhel7. It seems to be working out of the box again now with epel-testing. But, there is no munin.conf file and you're putting the generated munin html files in /var/www/html/munin. This is how it used to work a long time ago. Since then we switched to an alias configuration in the web server which is imho a much cleaner solution, don't you think ? Why the change ? And why the need to split out the software into munin-apache if you're not maintaining an apache config file anyway ? Thanks Thanks for testing this. As far as I see, previous Munin 2.0.33-1.el7 also did the same: 1) copy /etc/munin/static to /var/www/html/munin/static as part of munin-cron run, if they are missing (2.0.33 packaged them) 2) if in cron graph mode (default), generate html + png to /var/www/html/munin Static files can be served from /etc (with alias) or from /var/www (without alias). Both files are identical. I prefer /etc too and actually nginx-example is using that. Munin would still copy those files internally, even if they are unused by web server. Removing copy is a change that upstream should do. Munin 3.0 will change all that with new munin-httpd. It doesn't copy and graphs are always generated dynamically. Splitting munin.rpm to munin-apache and munin-nginx was needed because those subpackages have conflicting files with different permissions. munin-2.0.40-4.fc28 has been pushed to the Fedora 28 stable repository. If problems still persist, please make note of it in this bug report. munin-2.0.40-4.fc29 has been pushed to the Fedora 29 stable repository. If problems still persist, please make note of it in this bug report. munin-2.0.40-4.el6 has been pushed to the Fedora EPEL 6 stable repository. If problems still persist, please make note of it in this bug report. munin-2.0.40-4.el7 has been pushed to the Fedora EPEL 7 stable repository. If problems still persist, please make note of it in this bug report. Hello Kim,
There seems to be a problem with SELinux. I had to add the following policy to get the zoom working, whether in cron or cgi strategy:
module mymunin 1.0;
require {
type munin_var_lib_t;
type munin_script_t;
class dir { add_name create remove_name write };
class file { create setattr unlink write };
}
#============= munin_script_t ==============
allow munin_script_t munin_var_lib_t:dir { add_name create remove_name write };
allow munin_script_t munin_var_lib_t:file { create setattr unlink write };
Thanks
There are many SELinux problems in current RHEL Munin policy. See bug #1164245 for large patch. Your policy seems to be already included to that patch. But thanks for it, it will help others to fix zoom until #1164245 is fixed. |