Uploaded image for project: 'Facter'
  1. Facter
  2. FACT-149

Implement UUID fact

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Normal
    • Resolution: Done
    • None
    • None
    • None

    Description

      Debian-based systems in particular (possibly others) ship with an /etc/hosts file that starts

      127.0.0.1 localhost
      127.0.1.1 hostname.domain.tld hostname

      This is used to specify the FQDN of the machine independently of its physical IP address, and I believe their expectation is that you are not required to change this. However, this breaks the hostid command that is used to provide the uniqueid fact.

      I would expect the uniqueid fact to be unique on out-of-the-box Debian machines - perhaps munging Facter.ipaddress in the same way as the hostid command would.

      I also tested CentOS, but this does not use the same "hack", and it looks like you are expected to reconfigure /etc/hosts so that applications can find the hostname and FQDN.

      Attachments

        Issue Links

          Activity

            People

              jantman Jason Antman
              redmine.exporter redmine.exporter
              Eric Thompson Eric Thompson
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Zendesk Support