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

Also available in: Atom PDF