Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 249127 - net-im/ejabberd-2.0.2: typo at postinst detected
Summary: net-im/ejabberd-2.0.2: typo at postinst detected
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High trivial (vote)
Assignee: Caleb Tennis (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-11-27 22:05 UTC by Sebastian Mair
Modified: 2009-03-21 12:30 UTC (History)
2 users (show)

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


Attachments
ejabberd_typo_fix.patch (ejabberd_typo_fix.patch,788 bytes, patch)
2008-11-27 22:06 UTC, Sebastian Mair
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Sebastian Mair 2008-11-27 22:05:48 UTC
postinst prints at the quick start guide:

 * 1) Add output of `hostname -s` to /etc/jabber/ejabberd.cfg line 89

but 'hostname -s' displays just the short hostname. According to the
ejabberd config the domain should be specified there:

%% hosts: Domains served by ejabberd.
%% You can define one or several, for example:
%% {hosts, ["example.net", "example.com", "example.org"]}.

Therefore, postinst should print 'dnsdomainname' instead of 'hostname -s'.

Reproducible: Always

Steps to Reproduce:

Actual Results:  
 * Quick Start Guide:
 * 1) Add output of `hostname -s` to /etc/jabber/ejabberd.cfg line 89
 * {hosts, ["localhost", "thehost"]}.


Expected Results:  
 * Quick Start Guide:
 * 1) Add output of `dnsdomainname` to /etc/jabber/ejabberd.cfg line 89
 * {hosts, ["thedomain"]}.

same with net-im/ejabberd-2.0.1_p2-r1
Comment 1 Sebastian Mair 2008-11-27 22:06:56 UTC
Created attachment 173614 [details, diff]
ejabberd_typo_fix.patch
Comment 2 Caleb Tennis (RETIRED) gentoo-dev 2008-12-23 13:56:48 UTC
or hostname -f might be a better choice
Comment 3 Caleb Tennis (RETIRED) gentoo-dev 2009-03-21 12:30:23 UTC
I've changed this to hostname -f in 2.0.4