Project

General

Profile

Bug #7328

Extra carriage return in policy_server.dat inventory failure

Added by Jean Cardona over 5 years ago. Updated almost 5 years ago.

Status:
Released
Priority:
N/A
Category:
System techniques
Target version:
Severity:
User visibility:
Effort required:
Priority:

Description

If in /var/rudder/cfengine-community/policy_server.dat there is more than 1 carriage return, sending inventory fails:

2015-10-29T11:02:35+0100 error: /default/doInventory/commands/'/usr/bin/curl -L -k -1 -s -f --proxy '' -o "/var/rudder/cfengine-community/rudder-server-uuid.txt" https://10.76.1.190

/uuid'[0]: Finished command related to promiser '/usr/bin/curl -L -k -1 -s -f --proxy '' -o "/var/rudder/cfengine-community/rudder-server-uuid.txt" https://10.76.1.190

/uuid' -- an error occurred, returned 3

Also available in: Atom PDF