Project

General

Profile

Bug #4975

Windows clients may run the execRun command several times - for cygwin and plain windows cases

Added by Jonathan CLARKE almost 6 years ago. Updated almost 6 years ago.

Status:
Released
Priority:
2
Category:
System techniques
Target version:
Severity:
User visibility:
Effort required:
Priority:

Description

This code could lead to double execution and various problems:

    windows::
      "execRun" string => execresult("\"${g.rudder_sbin}\getDate.bat\"", "noshell");
    (!windows|cygwin).!android::
      "execRun" string => execresult("/bin/date -u \"+%Y-%m-%d %T+00:00\"", "noshell");;

See #4967 for a related issue.

#1

Updated by Jonathan CLARKE almost 6 years ago

  • Status changed from In progress to Pending technical review
  • Assignee changed from Jonathan CLARKE to Nicolas CHARLES
  • Pull Request set to https://github.com/Normation/rudder-techniques/pull/401
#2

Updated by Jonathan CLARKE almost 6 years ago

  • Status changed from Pending technical review to Pending release
  • % Done changed from 0 to 100

Applied in changeset policy-templates:commit:b740fb4525270c6977c4eeaedf4cd5ab62d5f851.

#3

Updated by Nicolas CHARLES almost 6 years ago

Applied in changeset policy-templates:commit:e0275e08e902d24142cb2e2be61edf3252ad6d71.

#4

Updated by Vincent MEMBRÉ almost 6 years ago

  • Status changed from Pending release to Released

This bug has been fixed in Rudder versions that were released today.

Also available in: Atom PDF