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)

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Normal
    • Resolution: Fixed
    • None
    • FACT 2.4.5, FACT 3.0.0
    • Windows
    • None
    • 1
    • Client 2015-06-24
    • Bug Fix
    • 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

            People

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

              Dates

                Created:
                Updated:
                Resolved:

                Zendesk Support