Project

General

Profile

Actions

Bug #16178

closed

Agent is not correctly aborted when repaired is happening in audit mode

Added by Nicolas CHARLES over 1 year ago. Updated 10 months ago.

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

Description

There's a bug in check generic file content, causing it to report repaired when in audit

It doesn't stop the agent

 warning: edit_line warning promised: - kernel.shmmax=i12
 warning: Should edit file '/tmp/audit' but only a warning promised
 warning: Bundle '_abort' should be invoked, but only a warning was promised!
 warning: Method 'rudder_common_report_index' invoked repairs, but only warnings promised

Subtasks 2 (0 open2 closed)

ncf - Bug #16179: Agent is not correctly aborted when dry-run failsReleasedNicolas CHARLESActions
ncf - Bug #16180: Agent is not correctly aborted when log failsReleasedNicolas CHARLESActions

Related issues

Related to Rudder - Bug #11086: File content directive - Audit mode is not correctly supportedReleasedAlexis MOUSSETActions
Related to ncf - Bug #16181: Missing edit_lines promises in dry-run libReleasedNicolas CHARLESActions
Actions #1

Updated by Nicolas CHARLES over 1 year ago

  • Related to Bug #11086: File content directive - Audit mode is not correctly supported added
Actions #2

Updated by Alexis MOUSSET over 1 year ago

  • Status changed from New to In progress
  • Assignee set to Alexis MOUSSET
Actions #3

Updated by Alexis MOUSSET over 1 year ago

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

Updated by Alexis MOUSSET over 1 year ago

  • Status changed from Pending technical review to Pending release
Actions #5

Updated by Alexis MOUSSET over 1 year ago

  • Related to Bug #16181: Missing edit_lines promises in dry-run lib added
Actions #8

Updated by Vincent MEMBRÉ over 1 year ago

This bug has been fixed in Rudder 5.0.15 which was released today.

Actions #9

Updated by Nicolas CHARLES 10 months ago

  • Status changed from Pending release to Released
Actions

Also available in: Atom PDF