Project

General

Profile

Bug #11044

Wrong stderr / stdout redirection of logs from rudder agent check in 4.1

Added by Nicolas CHARLES 3 months ago. Updated about 1 month ago.

Status:
Released
Priority:
N/A
Category:
Initial promises & sys tech
Target version:
Target version (plugin):
Severity:
User visibility:
Effort required:
Priority:
0

Description

In ticket #10946, we introduced mandatory \ before the & in the redirect for rudder cron.
However, it leaks to final file in Rudder 4.1 (it is still mandatory in 3.1)

It doesn't break anything, file /var/log/rudder/agent-check/check.log is correctly filled


Related issues

Related to Rudder - Bug #10946: Error at generation because of unescaped & in rudder_agent_community_cron.st Released
Duplicated by Rudder - Bug #11135: In /etc/cron.d/rudder-agent, redirection syntax is incorrect (assuming typo) Rejected

Associated revisions

Revision 921c741a
Added by Nicolas CHARLES 3 months ago

Fixes #11044: Wrong stderr / stdout redirection of logs from rudder agent check in 4.1

History

#1 Updated by Nicolas CHARLES 3 months ago

  • Related to Bug #10946: Error at generation because of unescaped & in rudder_agent_community_cron.st added

#2 Updated by Nicolas CHARLES 3 months ago

  • Status changed from New to In progress
  • Assignee set to Nicolas CHARLES

#3 Updated by Nicolas CHARLES 3 months ago

  • Status changed from In progress to Pending technical review
  • Assignee changed from Nicolas CHARLES to Alexis MOUSSET
  • Pull Request set to https://github.com/Normation/rudder-techniques/pull/1166

#4 Updated by Nicolas CHARLES 2 months ago

  • Duplicated by Bug #11135: In /etc/cron.d/rudder-agent, redirection syntax is incorrect (assuming typo) added

#5 Updated by Nicolas CHARLES 2 months ago

  • Category changed from Packaging to Initial promises & sys tech
  • Assignee changed from Alexis MOUSSET to Benoît PECCATTE

#6 Updated by Nicolas CHARLES 2 months ago

  • Status changed from Pending technical review to Pending release

#7 Updated by Vincent MEMBRÉ about 1 month ago

  • Status changed from Pending release to Released

This bug has been fixed in Rudder 4.1.6 and 4.2.0~beta3 which were released today.

Also available in: Atom PDF