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

Random "Empty first server packet" errors when copying files

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Done
    • Priority: High
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.7.3
    • Component/s: Promise type: files
    • Labels:
      None
    • Platform:
      RHEL or CentOS

      Description

      When copying directories, cf-agent regularly stops copy with errors like:

      <pre>
      error: Empty first server packet when listing directory '/var/rudder/share/c45e0e9f-5d9b-4685-b26c-35a3dcf35954/rules/cfengine-community/clockConfiguration/3.0'!
      </pre>

      It seems to happen since 3.7.0 with https://github.com/cfengine/core/commit/766f991dc61e589a1d8b98274d946df28e3003ef, which adds an empty string test in RemoteDirList, but checks the first char before calling DecryptString, which leads to random errors.

        Attachments

          Activity

            People

            • Assignee:
              a10038 jimis (Dimitrios Apostolou)
              Reporter:
              amousset Alexis Mousset
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Summary Panel