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

Reports incorrect hardware/architecture facts for 32-bit process on 64-bit OS, and 32-bit OS on 64-bit hardware

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Normal
    • Resolution: Fixed
    • None
    • FACT 3.0.0
    • Windows
    • None
    • 2
    • Client 2015-04-29

    Description

      The hardware fact (and the architecture fact, which is based off the hardware fact) was mis-implemented in native facter's re-implementation.

      The original logic if the processor model came back as PROCESSOR_ARCHITECTURE_AMD64 was to check whether we were running a 32-bit OS on a 64-bit processor, and if so return a 32-bit architecture (the fact corresponds to OS, not physical hardware).

      The re-implementation instead was verifying a 32-bit process running under 64-bit OS.

      risk: high
      probability: medium (use of hw/arch facts)
      severity: high (can't trust facts, custom facts workaround?)
      test layer: acceptance (see fact-958)

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              michael.smith Michael Smith
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Zendesk Support