Project

General

Profile

Actions

Bug #5681

closed

Bug #5712: Defining long classes (about > 2064 char) in CFEngine causes segfault

Technique "SSH keys distribution" 2.0 - adding large number of keys breaks the policy generation

Added by Fabrice FLORE-THÉBAULT over 9 years ago. Updated about 9 years ago.

Status:
Released
Priority:
2
Category:
-
Target version:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
Name check:
Fix check:
Regression:

Description

Using a Directive based on a "SSH keys distribution" 2.0 Technique.

I add 13 keys, that's a 13 lines, 5131 bytes file.

Option: flush the authorized keys file before updating : yes

Policy generation fails with following error:

⇨ cf-promise check fails for promises generated at '/var/rudder/share/3026aaf6-dd31-4d07-80b1-a810c8e250a4.new/rules/cfengine-community'
⇨ expand.c:287: ProgrammingError: ExpandAndMapIteratorsFromScalar called with invalid strlen

Related issues 1 (0 open1 closed)

Related to Rudder - Bug #5561: "sshKeyDistribution" Technique keeps adding the same keys for everReleasedJonathan CLARKE2014-09-20Actions
Actions

Also available in: Atom PDF