Project

General

Profile

Actions

Bug #11135

closed

In /etc/cron.d/rudder-agent, redirection syntax is incorrect (assuming typo)

Added by Hamlyn Mootoo almost 7 years ago. Updated over 6 years ago.

Status:
Rejected
Priority:
N/A
Assignee:
-
Category:
Agent
Target version:
-
Severity:
Minor - inconvenience | misleading | easy workaround
UX impact:
User visibility:
Operational - other Techniques | Technique editor | Rudder settings
Effort required:
Priority:
32
Name check:
Fix check:
Regression:

Description

The file /etc/cron.d/rudder-agent contain the following line:

0,5,10,15,20,25,30,35,40,45,50,55 * * * * root /opt/rudder/bin/rudder agent check >> /var/log/rudder/agent-check/check.log 2>\&1

I believe it should be:

0,5,10,15,20,25,30,35,40,45,50,55 * * * * root /opt/rudder/bin/rudder agent check >> /var/log/rudder/agent-check/check.log 2>&1

This causes a file with the name "&1" to be created in /root every 5 minutes


Related issues 1 (0 open1 closed)

Is duplicate of Rudder - Bug #11044: Wrong stderr / stdout redirection of logs from rudder agent check in 4.1ReleasedBenoît PECCATTEActions
Actions #1

Updated by Nicolas CHARLES almost 7 years ago

  • Is duplicate of Bug #11044: Wrong stderr / stdout redirection of logs from rudder agent check in 4.1 added
Actions #2

Updated by Benoît PECCATTE over 6 years ago

  • Status changed from New to Rejected

Duplicates #11044

Actions

Also available in: Atom PDF