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

Erroneous error message when maximum recursion level is reached

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: To Do
    • Priority: (None)
    • Resolution: Unresolved
    • Affects Version/s: 3.18.0
    • Fix Version/s: None
    • Labels:
      None

      Description

      In https://groups.google.com/g/help-cfengine/c/anZ_OIuvNlc a user reported an error message when reaching the Maximum recursion level.

      Shell command with stderr
      exec 2>&1
      git clone https://github.com/skaraborgfakir/skaraborgfakir.github.io /tmp/skaraborgfakir.github.io
      :
      
      Cloning into '/tmp/skaraborgfakir.github.io'...
      bundle agent __main__
      {
        vars:
            "troung" slist => { ".*" };
      
        files:
      
            "/tmp/css_course_christinatruong/."
              #depends_on => { "NS_www_fakirenstenstorp_truong"},
              copy_from => default:perms_cp( "/tmp/skaraborgfakir.github.io/christinatruong/."),
              file_select => default:by_name(  @(truong)),
              depth_search => default:recurse( "3"),
              meta => { "fakirenstenstorp", "httpd", "www.fakirenstenstorp.st"};
      
      }
      
       info: Created parent directory for '/tmp/css_course_christinatruong/.'
       info: Created directory '/tmp/css_course_christinatruong/./ch1'
       info: Object '/tmp/css_course_christinatruong/./ch1' had permissions 0700, changed it to 0775
       info: Created directory '/tmp/css_course_christinatruong/./ch1/01_02'
       info: Object '/tmp/css_course_christinatruong/./ch1/01_02' had permissions 0700, changed it to 0775
       info: Created directory '/tmp/css_course_christinatruong/./ch1/01_04'
       info: Object '/tmp/css_course_christinatruong/./ch1/01_04' had permissions 0700, changed it to 0775
       info: Created directory '/tmp/css_course_christinatruong/./ch1/01_04/bilder'
       info: Object '/tmp/css_course_christinatruong/./ch1/01_04/bilder' had permissions 0700, changed it to 0775
      error: Maximum recursion level reached at '/tmp/skaraborgfakir.github.io/christinatruong/./ch1/01_04/bilder'
      error: Errors encountered when actuating files promise '/tmp/css_course_christinatruong/.'
      

        Attachments

          Activity

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            a10042 Nick Anderson
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated: