Project

General

Profile

Actions

Bug #17258

closed

Bug #17214: chmod at the end of policy generation is painfully slow

Parent breaks generation

Added by Alexis Mousset over 4 years ago. Updated over 4 years ago.

Status:
Released
Priority:
N/A
Category:
Web - Config management
Target version:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
0
Name check:
To do
Fix check:
Checked
Regression:

Description

⇨ Unexpected: Error when executing hooks:
Exit code=2 for hook: '/opt/rudder/etc/hooks.d/policy-generation-node-ready/90-change-perm'. [stdout:][stderr:+ /bin/chmod u-x,u+rwX,g-wx,g+rX,o-rwx /var/rudder/cfengine-community/inputs.new/..
+ r2=0
+ '[' root '!=' root ']'
+ '[' -eq 0 ']'
/opt/rudder/etc/hooks.d/policy-generation-node-ready/90-change-perm: line 29: [: -eq: unary operator expected
] (for node(s) root)
Actions #1

Updated by Alexis Mousset over 4 years ago

  • Status changed from New to In progress
  • Assignee set to Alexis Mousset
Actions #2

Updated by Alexis Mousset over 4 years ago

  • Status changed from In progress to Pending technical review
  • Assignee changed from Alexis Mousset to Benoît PECCATTE
  • Pull Request set to https://github.com/Normation/rudder/pull/2936
Actions #3

Updated by Alexis Mousset over 4 years ago

  • Status changed from Pending technical review to Pending release
Actions #4

Updated by Vincent MEMBRÉ over 4 years ago

  • Status changed from Pending release to Released

This bug has been fixed in Rudder 6.1.0~beta1 which was released today.

Actions #5

Updated by François ARMAND over 4 years ago

  • Fix check changed from To do to Checked
Actions

Also available in: Atom PDF