Uploaded image for project: 'CFEngine Community'
  1. CFEngine Community
  2. CFE-1816

Process selection during kill operation does not work correctly on Solaris

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Done
    • Priority: High
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.6.5
    • Component/s: Environment Detection
    • Labels:
      None
    • Platform:
      Solaris
    • Steps to reproduce:
      Acceptance/unit test attached

      Description

      More specifically, the @core/tests/unit/process_test@ test fails on Solaris. The reason is that the platform specific portion that extracts the process state does not work (@GetProcessState()@). See the @SafeKill()@ function in core for more details on how the mechanism works.

      This can have potentially quite bad effects, such as killing the wrong process on the system.

        Attachments

          Activity

            People

            • Assignee:
              a10038 jimis (Dimitrios Apostolou)
              Reporter:
              a10040 Kristian Amlie
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Summary Panel