Actions
Bug #7240
closedThe rudder_var path on Solaris is incorrect
Status:
Released
Priority:
1 (highest)
Assignee:
Category:
Techniques
Target version:
Pull Request:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
Name check:
Fix check:
Regression:
Description
Running cf-agent on Solaris yields:
bash-3.2# /var/rudder/cfengine-community/bin/cf-agent -KI error: Can't stat file '/var/rudder/ncf/common/10_ncf_internals/list-compatible-inputs: /var/rudder/ncf/common/10_ncf_internals/list-compatible-inputs: cannot open' for parsing. (stat: No such file or directory) error: Policy failed validation with command '"/var/rudder/cfengine-community/bin/cf-promises" -c "/var/rudder/cfengine-community/inputs/promises.cf"'
The error comes from the fact that in failsafe.cf, rudder_var is:
solaris:: "rudder_var" string => "/opt/rudder/var";
But in promises.cf, the condition is:
!android.!windows:: "rudder_var" string => "/var/rudder";
Rudder tries to find list-compatible-inputs in the wrong place, and fails miserably.
Actions