Uploaded image for project: 'Qpid JMS'
  1. Qpid JMS
  2. QPIDJMS-328

Kerberos tests can fail depending on the localhost configuration in /etc/hosts

    XMLWordPrintableJSON

    Details

    • Type: Test
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 0.25.0
    • Fix Version/s: 0.26.0
    • Component/s: None
    • Labels:
      None

      Description

      As reported during the 0.25.0 vote [1], the Kerberos tests added in 0.24.0 were seen to fail in a particular environment during release testing.

      This seems to be occurring due to the GSSAPI impl doing a reverse lookup and overriding the provided "localhost" and using "localhost.localdomain" in the service principal.

      This was found to occur at least in part due to a difference in entry for 127.0.0.1 in /etc/hosts, where "localhost.localdomain" was listed (apparently correctly) as the first entry with localhost as one of the aliases, rather than the reverse which has been seen in other systems with localhost first (apparently incorrectly) and "localhost.localdomain" listed as an alias. We should make the test able to handle either of these cases.

      [1] http://mail-archives.apache.org/mod_mbox/qpid-users/201709.mbox/%3C14da2927-7f80-0cb0-a87a-81990c5c9a20%40redhat.com%3E

        Attachments

          Activity

            People

            • Assignee:
              robbie Robbie Gemmell
              Reporter:
              robbie Robbie Gemmell
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: