Bug 276071

Summary: ejabberdctl is not working as expected
Product: [Fedora] Fedora Reporter: Vaclav "sHINOBI" Misek <misek>
Component: ejabberdAssignee: Jeffrey C. Ollie <jeff>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: high Docs Contact:
Priority: medium    
Version: rawhide   
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: All   
Whiteboard:
Fixed In Version: 1.1.3-11.fc7 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2007-09-10 16:53:16 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Vaclav "sHINOBI" Misek 2007-09-04 12:01:13 UTC
Description of problem:
When you use ejabberctl for example "ejabberdctl ejabberd@hostname status" the
command lists usage and doesn't execute the command.

Version-Release number of selected component (if applicable):
ejabberd-1.1.3-10.fc8


Actual results:


Expected results:


Additional info:
It seems to me, that ejabberdctl wrapper should be corrected to:

-exec /sbin/runuser -s /bin/bash - ejabberd -c "erl -pa
/usr/lib64/ejabberd-1.1.3/ebin -noinput -sname ejabberdctl -s ejabberd_ctl
-extra $@"
+exec /sbin/runuser -s /bin/bash - ejabberd -c "erl -pa
/usr/lib64/ejabberd-1.1.3/ebin -noinput -sname ejabberdctl -s ejabberd_ctl
-extra $*"

as the parameters should be passed to the script in one line. With the $*
ejabberdctl is working as expected.

Comment 1 Fedora Update System 2007-09-04 22:07:21 UTC
ejabberd-1.1.3-11.fc7 has been pushed to the Fedora 7 testing repository.  If problems still persist, please make note of it in this bug report.

Comment 2 Vaclav "sHINOBI" Misek 2007-09-08 22:56:48 UTC
Great. Thanks a lot!

Comment 3 Fedora Update System 2007-09-10 16:53:15 UTC
ejabberd-1.1.3-11.fc7 has been pushed to the Fedora 7 stable repository.  If problems still persist, please make note of it in this bug report.