Project

General

Profile

Actions

Bug #5740

closed

Secure template application

Added by Matthieu CERDA over 9 years ago. Updated almost 2 years ago.

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

Description

Sometimes, CFEngine fails to apply templates.

It happens on certain conditions:
  • The source template does not exist
  • The template expansion failed

We should do apply the templates in a local directory first, and then apply it on the final destination if the file is a least not empty, but doing this would make applying an empty file impossible...

For now, we should abort the template application if the source template is not here.

Actions #1

Updated by Matthieu CERDA over 9 years ago

  • Status changed from New to Pending technical review
  • Assignee changed from Matthieu CERDA to Jonathan CLARKE
  • % Done changed from 0 to 100
  • Pull Request set to https://github.com/Normation/ncf/pull/141
Actions #2

Updated by Matthieu CERDA over 9 years ago

  • Status changed from Pending technical review to Pending release

Applied in changeset commit:ad64610b3930ca7cf1121543a22446732cdb5a1f.

Actions #3

Updated by Nicolas CHARLES over 9 years ago

Applied in changeset commit:4e4512f98591cbabc13f779593b77366b5659b8d.

Actions #4

Updated by Vincent MEMBRÉ over 7 years ago

  • Status changed from Pending release to Released
Actions #5

Updated by Alexis Mousset almost 2 years ago

  • Target version changed from 0.x to ncf-0.x
  • Priority set to 0
Actions #6

Updated by Alexis Mousset almost 2 years ago

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

Also available in: Atom PDF