Project

General

Profile

Actions

Bug #21520

open

Augeas methods do not support the audit mode

Added by Félix DALLIDET over 1 year ago. Updated 19 days ago.

Status:
New
Priority:
N/A
Assignee:
-
Category:
Generic methods
Target version:
Severity:
Critical - prevents main use of Rudder | no workaround | data loss | security
UX impact:
I hate Rudder for that
User visibility:
Operational - other Techniques | Rudder settings | Plugins
Effort required:
Medium
Priority:
89
Name check:
To do
Fix check:
To do
Regression:
No

Description

When trying to use an augeas method in audit mode I endup with the following error message:

Repaired previous component while in dry-run mode, this is a bug. Aborting immediately.

After looking at the method source code, it looks like it the method is not designed at all to support audit mode.
This should at least be documented and skipped in audit as it "breaks" the agent run.

Analysis

variable_string_from_augeas
ok, no modification

file_augeas_set

Understands audit mode when a file is given in parameter.
But when no file is given, audit mode is ignored. But actually, that method can't work in audit mode, we need to skip it with a n/a report.

file_augeas_commands
It's a method that takes a script and get its output: flexible, but we can't assume anything about the given script.
For that file, we need to just skip with an n/a report.

It also points to the need to perhaps have a "augeas audit only" method where we would authorize that with a "be careful, danger for you feet" message in the description.


Related issues 1 (0 open1 closed)

Has duplicate Rudder - Bug #20714: augeas methods in audit mode do enforce thingsRejectedActions
Actions #1

Updated by François ARMAND over 1 year ago

  • Severity set to Critical - prevents main use of Rudder | no workaround | data loss | security
  • Priority changed from 0 to 124
  • Regression changed from Yes to No
Actions #2

Updated by François ARMAND over 1 year ago

  • Has duplicate Bug #20714: augeas methods in audit mode do enforce things added
Actions #3

Updated by Vincent MEMBRÉ over 1 year ago

  • Target version changed from 6.2.17 to 997
Actions #4

Updated by Vincent MEMBRÉ over 1 year ago

  • Target version changed from 997 to 6.2.18
Actions #5

Updated by Vincent MEMBRÉ over 1 year ago

  • Target version changed from 6.2.18 to 6.2.19
Actions #6

Updated by Vincent MEMBRÉ over 1 year ago

  • Target version changed from 6.2.19 to 6.2.20
  • Priority changed from 124 to 123
Actions #7

Updated by François ARMAND over 1 year ago

  • Assignee set to Alexis Mousset
  • Priority changed from 123 to 122
Actions #8

Updated by Alexis Mousset over 1 year ago

  • Status changed from New to In progress
Actions #9

Updated by Vincent MEMBRÉ over 1 year ago

  • Target version changed from 6.2.20 to old 6.2 issues to relocate
  • Priority changed from 122 to 121
Actions #10

Updated by François ARMAND over 1 year ago

  • Description updated (diff)
Actions #11

Updated by Benoît PECCATTE 11 months ago

  • Status changed from In progress to New
  • Assignee deleted (Alexis Mousset)
  • Priority changed from 121 to 109
Actions #12

Updated by Nicolas CHARLES 11 months ago

  • Target version changed from old 6.2 issues to relocate to 7.2.7
  • Effort required set to Medium
  • Priority changed from 109 to 93
Actions #13

Updated by Vincent MEMBRÉ 11 months ago

  • Target version changed from 7.2.7 to 7.2.8
Actions #14

Updated by Vincent MEMBRÉ 9 months ago

  • Target version changed from 7.2.8 to 7.2.9
  • Priority changed from 93 to 91
Actions #15

Updated by Vincent MEMBRÉ 8 months ago

  • Target version changed from 7.2.9 to 7.2.10
  • Priority changed from 91 to 89
Actions #16

Updated by Alexis Mousset 8 months ago

  • Target version changed from 7.2.10 to 7.2.11
Actions #17

Updated by Vincent MEMBRÉ 7 months ago

  • Target version changed from 7.2.11 to 1046
Actions #18

Updated by Alexis Mousset 6 months ago

  • Target version changed from 1046 to 7.3.8
Actions #19

Updated by Vincent MEMBRÉ 5 months ago

  • Target version changed from 7.3.8 to 7.3.9
Actions #20

Updated by Vincent MEMBRÉ 5 months ago

  • Target version changed from 7.3.9 to 7.3.10
Actions #21

Updated by Vincent MEMBRÉ 4 months ago

  • Target version changed from 7.3.10 to 7.3.11
Actions #22

Updated by Vincent MEMBRÉ about 2 months ago

  • Target version changed from 7.3.11 to 7.3.12
Actions #23

Updated by Vincent MEMBRÉ 30 days ago

  • Target version changed from 7.3.12 to 7.3.13
Actions #24

Updated by Vincent MEMBRÉ 19 days ago

  • Target version changed from 7.3.13 to 7.3.14
Actions

Also available in: Atom PDF