Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 94865 - jabberd-1.4.3-r5 needs -h parameter
Summary: jabberd-1.4.3-r5 needs -h parameter
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High major (vote)
Assignee: Gentoo Net-im project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-06-02 14:11 UTC by Wendall Cada
Modified: 2005-06-02 15:10 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Wendall Cada 2005-06-02 14:11:02 UTC
This jabberd update requires use of -h for setting the host if the hostname of
the server is different from the jabber hostname.

This is a really annoying problem since the --help output doesn't mention the
option.

# jabberd --help
Usage:
jabberd [params]
 Optional Parameters:
 -c             configuration file
 -D             enable debug output (disables background)
 -H             location of home folder
 -B             background the server process
 -Z             debug zones
 -v             server version
 -V             server version

Reproducible: Always
Steps to Reproduce:
1.Start jabberd
2.Attempt logging in


Actual Results:  
Without using the -h flag, an error like this will be created:
20050602T20:48:34: [notice] (im.sampledomain.com): bouncing a routed packet to
wendall@im.sampledomain.com from 13@c2s/80DDD88: Internal Delivery Error

Expected Results:  
I'd expect that this would have a configuration option in /etc/conf.d/jabber
that would allow for addiontion of the hostname in use with the jabber server.
Comment 1 Wendall Cada 2005-06-02 14:15:31 UTC
I was clued into this undocumented flag here:
http://mail.jabber.org/pipermail/jadmin/2003-October/012511.html

HTH

Wendall
Comment 2 Wendall Cada 2005-06-02 14:34:33 UTC
Ok, this doesn't entirely resolve the issue. We use more than one hostname for
jabber. I don't know if there can be multiple hosts for the -h flag researching
now. Also, line 20 needs  >/dev/null 2>&1 at the end or jabberd spews crap to
the console.

Wendall
Comment 3 Wendall Cada 2005-06-02 15:10:01 UTC
Ok, resolved the issue. multiple.xml will no longer work with the following:
<host><jabberd:cmdline flag="h">localhost</jabberd:cmdline></host>
It must be a list like this:
<host>im.domain1.com</host><host>im.domain2.com</host>

Please at least add >/dev/null 2>&1 to line 20 in the init script :)

Thanks,

Wendall