| Summary: | net-im/ejabberd-2.0.2: typo at postinst detected | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Sebastian Mair <sebastian.mair> |
| Component: | New packages | Assignee: | Caleb Tennis (RETIRED) <caleb> |
| Status: | RESOLVED FIXED | ||
| Severity: | trivial | CC: | dschridde+gentoobugs, net-im |
| Priority: | High | ||
| Version: | unspecified | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
| Attachments: | ejabberd_typo_fix.patch | ||
Created attachment 173614 [details, diff]
ejabberd_typo_fix.patch
or hostname -f might be a better choice I've changed this to hostname -f in 2.0.4 |
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