[ 
https://issues.apache.org/jira/browse/QPID-6007?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14099945#comment-14099945
 ] 

Pavel Moravec commented on QPID-6007:
-------------------------------------

Works well on RHEL[5-6] where hostname does not need to be resolved to an IP 
address - contrary to Fedora where setting hostname to anything wrong 
automatically resolves the string to my IP address (havent tested with multiple 
IP addresses assigned, though).

> qpid-route uses machine hostname if host not given
> --------------------------------------------------
>
>                 Key: QPID-6007
>                 URL: https://issues.apache.org/jira/browse/QPID-6007
>             Project: Qpid
>          Issue Type: Bug
>          Components: Python Tools
>    Affects Versions: 0.18, 0.22
>            Reporter: Ernest Allen
>            Priority: Minor
>         Attachments: bz1121632.patch
>
>
> When a broker address is not supplied to qpid-route, it attempts to use the 
> machines hostname as the broker address. This works well when the hostname is 
> translatable to an ip address. However, when the hostname has been set to a 
> non-translatable string, qpid-route fails. 
> For backwards compatability, qpid-route should continue to use hostname when 
> the broker address is not supplied, but if hostname is not a valid address, 
> qpid-route should default to "localhost".
>  



--
This message was sent by Atlassian JIRA
(v6.2#6252)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to