Write JSTest for bind_ip=localhost with /etc/host override

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Won't Do
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: Testing Infrastructure
    • None
    • ALL
    • Security 2019-05-06, Security 2019-05-20, Security 2019-06-03
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      There is code in bind_ip configuration which depends on hostname resolution. However, we currently can't define different sets of ip->hostname mappings in tests.

      However, it appears there is a glibc environment variable called HOSTALIASES that allows a process to define a filepath to a hosts file, overriding the default of /etc/hosts.

            Assignee:
            Jonathan Reams
            Reporter:
            Spencer Jackson
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: