Description of problem: RHEL 6.6 initscripts cause jabberd start/restart to write the following messages: Starting router: /usr/bin/dirname: extra operand `2>&1' Try `/usr/bin/dirname --help' for more information. Version-Release number of selected component (if applicable): jabberd-2.2.14-5.el6.x86_64 initscripts-9.03.46-1.el6_6.1.x86_64 How reproducible: Always Steps to Reproduce: 1. Just restart jabberd servise with: $ service jabberd restart Actual results: $ service jabberd restart Terminating jabberd processes ... Stopping s2s: [ OK ] Stopping c2s: [ OK ] Stopping sm: [ OK ] Stopping router: [ OK ] Initializing jabberd processes ... Starting router: /usr/bin/dirname: extra operand `2>&1' Try `/usr/bin/dirname --help' for more information. [ OK ] Starting sm: /usr/bin/dirname: extra operand `2>&1' Try `/usr/bin/dirname --help' for more information. [ OK ] Starting c2s: /usr/bin/dirname: extra operand `2>&1' Try `/usr/bin/dirname --help' for more information. [ OK ] Starting s2s: /usr/bin/dirname: extra operand `2>&1' Try `/usr/bin/dirname --help' for more information. [ OK ] Expected results: No erros/warnings Additional info: This messages affect Spacewalk as it uses the EPEL6 jabberd. See related Bug 1153677 for more information.
Created attachment 954953 [details] patch used to fix Bug 1153677
Thanks for the patch. The patch was not applying (wrong filename and reversed). I hope the new build is the intended result. A diff against the jabberd el6 branch git would have been easier.
jabberd-2.2.14-6.el6 has been submitted as an update for Fedora EPEL 6. https://admin.fedoraproject.org/updates/jabberd-2.2.14-6.el6
Package jabberd-2.2.14-6.el6: * should fix your issue, * was pushed to the Fedora EPEL 6 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=epel-testing jabberd-2.2.14-6.el6' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-EPEL-2014-4094/jabberd-2.2.14-6.el6 then log in and leave karma (feedback).
jabberd-2.2.14-6.el6 has been pushed to the Fedora EPEL 6 stable repository. If problems still persist, please make note of it in this bug report.