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

cf-runagent: arguments are implicitly added to cfruncommand by cf-serverd

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open
    • Priority: Medium
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: cf-serverd
    • Labels:
      None

      Description

      For example, I set the following in body server control:
      <pre>
      cfruncommand => "/bin/cp fileA fileB";
      </pre>

      If I invoke @cf-runagent@ from a remote host, then this machine's @cf-serverd@ will try to execute the following command:

      <pre>
      /bin/cp fileA fileB -I -Dcfruncommand
      </pre>

      At best the command will fail; worst case is that it will have unwanted side effects.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                a10003 Eystein Maloy Stenberg
                Reporter:
                a10038 jimis (Dimitrios Apostolou)
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:

                  Summary Panel