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

The gid fact is ill-constrained on Windows (ID.EXE is called if it exists)

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Normal
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: FACT 2.4.5, FACT 3.0.0
    • Component/s: Windows
    • Labels:
      None
    • Template:
    • Story Points:
      1
    • Sprint:
      Client 2015-06-24
    • Release Notes:
      Bug Fix
    • Release Notes Summary:
      Facter will no longer attempt to invoke id.exe if found on the system. Doing so would cause an error resolving the gid fact.

      Description

      If there exists an id executable in a PATH Puppet is aware of when it runs on a Windows system that executable will be called when Facter tries to evaluate the gid fact.

      For example, if I have an ID.EXE installed on the system, it will be called. If ID.EXE launches a graphical application, until the window is closed the Facter run is effectively held and will not continue. I can get the same behavior if I create an ID.BAT file that launches notepad.

      The problem seems to be that the most generic version of the gid fact is constrained only on the existence of an id executable, regardless of operating system family.

        Attachments

          Issue Links

            Activity

              jsd-sla-details-panel

                People

                • Assignee:
                  Unassigned
                  Reporter:
                  reid Reid Vandewiele
                • Votes:
                  3 Vote for this issue
                  Watchers:
                  9 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved:

                    Zendesk Support