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

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Normal
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: FACT 3.0.0
    • Component/s: Windows
    • Labels:
      None
    • Template:
    • Story Points:
      2
    • Sprint:
      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

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

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Zendesk Support