Project

General

Profile

Actions

Bug #18904

open

Error about chdir when trying to copy a file that does not exist on the server

Added by Alexis Mousset about 3 years ago. Updated about 1 month ago.

Status:
New
Priority:
N/A
Assignee:
-
Category:
Agent
Target version:
Severity:
Trivial - no functional impact | cosmetic
UX impact:
User visibility:
Infrequent - complex configurations | third party integrations
Effort required:
Priority:
0
Name check:
To do
Fix check:
To do
Regression:

Description

 error: Failed to chdir into '/var/rudder/cfengine-community/tmp/templates/file_from_remote_template/tmp'. (chdir: 'No such file or directory')
   error: Method 'file_from_remote_source_recursion' failed in some repairs
   error: Method 'file_from_remote_source' failed in some repairs

This happens if the file to be copied does not exist.

It is very likely a bug in cf-agent which does not create the destination but still tries de chdir into it.

Actions

Also available in: Atom PDF