Project

General

Profile

Actions

Enhancement #6427

open

When using classes parameters of more than 1024 char the class is not defined

Enhancement #6427: When using classes parameters of more than 1024 char the class is not defined

Added by Nicolas CHARLES almost 11 years ago. Updated over 2 years ago.

Status:
New
Priority:
N/A
Assignee:
-
Category:
Generic methods
UX impact:
Suggestion strength:
User visibility:
Operational - other Techniques | Technique editor | Rudder settings
Effort required:
Medium
Name check:
Fix check:
Regression:

Description

If we have a particularly large parameter to the generic method, with more than 1024 characters, the agent segfault at the time of the resulting class definition ( see https://dev.cfengine.com/issues/7013 )

This can be a real issue, and we ought to have a way to circumvent this point (like reporting on the hash of the class parameter ?)


Related issues 2 (0 open2 closed)

Related to Rudder - User story #6422: Create method for installing multiple packages at once (with versions)RejectedActions
Related to Rudder - User story #8324: Backport fix for >1K long classes in the agentReleasedJonathan CLARKEActions

Updated by François ARMAND almost 11 years ago Actions #1

Two typical use case for that:

- long file name (long path):
- enforce a file content with a long value.

One more case for the future: is we want to have the possibility to give a list of packages in a generic method, we will most likelly have input longer than 1024 chars (see #6422 )

Updated by Alexis Mousset over 9 years ago Actions #2

  • Subject changed from When using classes parameters of more than 1024 char, the agent segfault to When using classes parameters of more than 1024 char the class is not defined (or the agent segfaults)

The segfault has been fixed in all supported versions of Rudder and CFEngine.

Updated by Alexis Mousset over 9 years ago Actions #3

  • Related to User story #8324: Backport fix for >1K long classes in the agent added

Updated by Alexis Mousset over 9 years ago Actions #4

  • Category set to Generic methods

Updated by Alexis Mousset over 9 years ago Actions #5

We should add a warn into the web interface, and if possible a warn message in the policies

Updated by Alexis Mousset almost 9 years ago Actions #6

  • Subject changed from When using classes parameters of more than 1024 char the class is not defined (or the agent segfaults) to When using classes parameters of more than 1024 char the class is not defined

Updated by Jonathan CLARKE almost 9 years ago Actions #7

  • Severity set to Major - prevents use of part of Rudder | no simple workaround
  • User visibility set to Operational - other Techniques | Technique editor | Rudder settings
  • Priority set to 30

Updated by Alexis Mousset over 8 years ago Actions #8

  • Effort required set to Medium
  • Priority changed from 30 to 29

Updated by Vincent MEMBRÉ over 8 years ago Actions #9

  • Target version changed from 0.x to 3.1.25

Updated by Vincent MEMBRÉ about 8 years ago Actions #10

  • Target version changed from 3.1.25 to 387

Updated by Vincent MEMBRÉ about 8 years ago Actions #11

  • Target version changed from 387 to 4.1.10

Updated by Vincent MEMBRÉ almost 8 years ago Actions #12

  • Target version changed from 4.1.10 to 4.1.11

Updated by Vincent MEMBRÉ almost 8 years ago Actions #13

  • Target version changed from 4.1.11 to 4.1.12

Updated by Vincent MEMBRÉ over 7 years ago Actions #14

  • Target version changed from 4.1.12 to 4.1.13
  • Priority changed from 29 to 30

Updated by Vincent MEMBRÉ over 7 years ago Actions #15

  • Target version changed from 4.1.13 to 4.1.14

Updated by Benoît PECCATTE over 7 years ago Actions #16

  • Target version changed from 4.1.14 to 4.1.15

Updated by Vincent MEMBRÉ over 7 years ago Actions #17

  • Target version changed from 4.1.15 to 4.1.16
  • Priority changed from 30 to 31

Updated by Vincent MEMBRÉ over 7 years ago Actions #18

  • Target version changed from 4.1.16 to 4.1.17

Updated by Vincent MEMBRÉ about 7 years ago Actions #19

  • Target version changed from 4.1.17 to 4.1.18
  • Priority changed from 31 to 0

Updated by Vincent MEMBRÉ about 7 years ago Actions #20

  • Target version changed from 4.1.18 to 4.1.19

Updated by Alexis Mousset about 7 years ago Actions #21

  • Target version changed from 4.1.19 to 4.1.20

Updated by François ARMAND almost 7 years ago Actions #22

  • Target version changed from 4.1.20 to 4.1.21

Updated by Vincent MEMBRÉ almost 7 years ago Actions #23

  • Target version changed from 4.1.21 to 4.1.22

Updated by Benoît PECCATTE almost 7 years ago Actions #24

  • Target version changed from 4.1.22 to 5.0.10

Updated by Vincent MEMBRÉ almost 7 years ago Actions #25

  • Target version changed from 5.0.10 to 5.0.11

Updated by Vincent MEMBRÉ over 6 years ago Actions #26

  • Target version changed from 5.0.11 to 5.0.12

Updated by Vincent MEMBRÉ over 6 years ago Actions #27

  • Target version changed from 5.0.12 to 5.0.13

Updated by Vincent MEMBRÉ over 6 years ago Actions #28

  • Target version changed from 5.0.13 to 5.0.14

Updated by Vincent MEMBRÉ over 6 years ago Actions #29

  • Target version changed from 5.0.14 to 5.0.15

Updated by Vincent MEMBRÉ about 6 years ago Actions #30

  • Target version changed from 5.0.15 to 5.0.16

Updated by Alexis Mousset about 6 years ago Actions #31

  • Target version changed from 5.0.16 to 5.0.17

Updated by Vincent MEMBRÉ almost 6 years ago Actions #32

  • Target version changed from 5.0.17 to 5.0.18

Updated by Vincent MEMBRÉ over 5 years ago Actions #33

  • Target version changed from 5.0.18 to 5.0.19

Updated by Vincent MEMBRÉ over 5 years ago Actions #34

  • Target version changed from 5.0.19 to 5.0.20

Updated by Vincent MEMBRÉ over 5 years ago Actions #35

  • Target version changed from 5.0.20 to 797

Updated by Benoît PECCATTE over 4 years ago Actions #36

  • Target version changed from 797 to 6.1.14

Updated by Vincent MEMBRÉ over 4 years ago Actions #37

  • Target version changed from 6.1.14 to 6.1.15

Updated by Vincent MEMBRÉ over 4 years ago Actions #38

  • Target version changed from 6.1.15 to 6.1.16

Updated by Vincent MEMBRÉ over 4 years ago Actions #39

  • Target version changed from 6.1.16 to 6.1.17

Updated by Benoît PECCATTE over 4 years ago Actions #40

  • Project changed from 41 to Rudder
  • Category changed from Generic methods to Generic methods

Updated by Vincent MEMBRÉ over 4 years ago Actions #41

  • Target version changed from 6.1.17 to 6.1.18

Updated by Vincent MEMBRÉ about 4 years ago Actions #42

  • Target version changed from 6.1.18 to 6.1.19

Updated by François ARMAND about 4 years ago Actions #43

And document the limit in user manual.

Updated by François ARMAND about 4 years ago Actions #44

  • Tracker changed from Bug to Enhancement
  • Severity deleted (Major - prevents use of part of Rudder | no simple workaround)
  • Priority deleted (0)

Updated by Vincent MEMBRÉ almost 4 years ago Actions #45

  • Target version changed from 6.1.19 to 6.1.20

Updated by Vincent MEMBRÉ over 3 years ago Actions #46

  • Target version changed from 6.1.20 to 6.1.21

Updated by Vincent MEMBRÉ over 3 years ago Actions #47

  • Target version changed from 6.1.21 to old 6.1 issues to relocate

Updated by Alexis Mousset almost 3 years ago Actions #48

  • Target version changed from old 6.1 issues to relocate to 7.2.5

Updated by Vincent MEMBRÉ almost 3 years ago Actions #49

  • Target version changed from 7.2.5 to 7.2.6

Updated by Vincent MEMBRÉ almost 3 years ago Actions #50

  • Target version changed from 7.2.6 to 7.2.7

Updated by Vincent MEMBRÉ almost 3 years ago Actions #51

  • Target version changed from 7.2.7 to 7.2.8

Updated by Vincent MEMBRÉ over 2 years ago Actions #52

  • Target version changed from 7.2.8 to 7.2.9

Updated by Vincent MEMBRÉ over 2 years ago Actions #53

  • Target version changed from 7.2.9 to 7.2.10

Updated by Alexis Mousset over 2 years ago Actions #54

  • Target version changed from 7.2.10 to 7.2.11

Updated by Vincent MEMBRÉ over 2 years ago Actions #55

  • Target version changed from 7.2.11 to 1046

Updated by Alexis Mousset over 2 years ago Actions #56

  • Target version changed from 1046 to Ideas (not version specific)
Actions

Also available in: PDF Atom