Created attachment 1034004 [details] patch fixing the problem Description of problem: When the system boots, a failure is reported for mailgraph. Version-Release number of selected component (if applicable): mailgraph-1.14-21.fc22.noarch How reproducible: 100% Steps to Reproduce: 1.Install mailgraph (and mailgraph-selinux if using selinux) 2.systemctl start mailgraph.service 3.systemctl status mailgraph.service Actual results: mailgraph.service doesn't start, systemctl status mailgraph.service says: ● mailgraph.service - mailgraph mail log file analyzer Loaded: loaded (/usr/lib/systemd/system/mailgraph.service; enabled; vendor preset: disabled) Active: failed (Result: exit-code) since Tue 2015-06-02 21:24:00 CEST; 35s ago Process: 619 ExecStart=/usr/sbin/mailgraph -d -l $MAILLOG --daemon-rrd=/var/lib/mailgraph $OPTIONS (code=exited, status=255) Jun 02 21:24:00 taling.mullender.nl mailgraph[619]: Global symbol "$time" req... Jun 02 21:24:00 taling.mullender.nl mailgraph[619]: Global symbol "$text" req... Jun 02 21:24:00 taling.mullender.nl mailgraph[619]: Global symbol "$time" req... Jun 02 21:24:00 taling.mullender.nl mailgraph[619]: Global symbol "$text" req... Jun 02 21:24:00 taling.mullender.nl mailgraph[619]: Can't use global $1 in "m... Jun 02 21:24:00 taling.mullender.nl mailgraph[619]: /usr/sbin/mailgraph has t... Jun 02 21:24:00 taling.mullender.nl systemd[1]: mailgraph.service: control p...5 Jun 02 21:24:00 taling.mullender.nl systemd[1]: Failed to start mailgraph ma.... Jun 02 21:24:00 taling.mullender.nl systemd[1]: Unit mailgraph.service enter.... Jun 02 21:24:00 taling.mullender.nl systemd[1]: mailgraph.service failed. Hint: Some lines were ellipsized, use -l to show in full. Expected results: mailgraph.service starts up. Additional info: The fix is simple. There is a typo in /usr/sbin/mailgraph: replace "elseif" with "elsif".
This package has changed ownership in the Fedora Package Database. Reassigning to the new owner of this component.
Fedora 22 changed to end-of-life (EOL) status on 2016-07-19. Fedora 22 is no longer maintained, which means that it will not receive any further security or bug fix updates. As a result we are closing this bug. If you can reproduce this bug against a currently maintained version of Fedora please feel free to reopen this bug against that version. If you are unable to reopen this bug, please file a new report against the current release. If you experience problems, please add a comment to this bug. Thank you for reporting this bug and we are sorry it could not be fixed.
Reopening since this is still an issue. I must say, this is embarrassing. The fix is totally trivial, and included in the report, but it is not applied. I'll reiterate the fix: sed -i 's/elseif/elsif/' /usr/sbin/mailgraph
Thanks Sjoerd for reporting this. I just pushed a fix to git [1], and have also submitted updates for F23, F24 and F25 that should soon be available in updates-testing. [1] http://pkgs.fedoraproject.org/cgit/rpms/mailgraph.git/commit/?id=8958952e055a74d9f70562816d9e703744d74704
mailgraph-1.14-26.fc25 has been pushed to the Fedora 25 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-2016-0f1ff95358
mailgraph-1.14-26.fc23 has been pushed to the Fedora 23 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-2016-a1f6e004db
mailgraph-1.14-26.fc24 has been pushed to the Fedora 24 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-2016-e4226bdd8d
mailgraph-1.14-26.fc25 has been pushed to the Fedora 25 stable repository. If problems still persist, please make note of it in this bug report.
mailgraph-1.14-26.fc24 has been pushed to the Fedora 24 stable repository. If problems still persist, please make note of it in this bug report.
mailgraph-1.14-26.fc23 has been pushed to the Fedora 23 stable repository. If problems still persist, please make note of it in this bug report.