Project

General

Profile

Actions

Bug #7254

closed

Ssh key distribution cannot distibute several keys on one user

Added by Vincent MEMBRÉ over 8 years ago. Updated over 8 years ago.

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

Description

If i try to add several keys to a user with sshKeyDistribution technique ... it completely broke my authorized keys file \o/

lets say I have 3 keys: key1, key2, key3

after first run: I will have

key3

after second run:

key3
key3

after n runs:

key3
... n-2 times ... 
key3

This is because a var is not set when we try to replace the lines which leads to funny behavior (not so funny)


Subtasks 1 (0 open1 closed)

Bug #7255: Ssh key distribution cannot distibute several keys on one user (branch 2.11, versions 2.0 and 3.0)ReleasedBenoît PECCATTE2015-10-07Actions
Actions #1

Updated by Vincent MEMBRÉ over 8 years ago

  • Status changed from New to In progress
Actions #2

Updated by Vincent MEMBRÉ over 8 years ago

  • Status changed from In progress to Pending technical review
  • Assignee changed from Vincent MEMBRÉ to Benoît PECCATTE
  • Pull Request set to https://github.com/Normation/rudder-techniques/pull/749
Actions #3

Updated by Vincent MEMBRÉ over 8 years ago

  • Status changed from Pending technical review to Pending release
  • % Done changed from 0 to 100
Actions #5

Updated by Vincent MEMBRÉ over 8 years ago

  • Status changed from Pending release to Released

This bug has been fixed in Rudder 2.10.18, 2.11.15, 3.0.10 and 3.1.3 which were released today.

Actions

Also available in: Atom PDF