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.
Updated by Matthieu CERDA about 9 years ago
- Status changed from New to In progress
Updated by Matthieu CERDA about 9 years ago
- Status changed from In progress to Pending technical review
- Assignee changed from Matthieu CERDA to Nicolas CHARLES
- Pull Request set to https://github.com/Normation/rudder-techniques/pull/748
Updated by Matthieu CERDA about 9 years ago
- Assignee changed from Nicolas CHARLES to Benoît PECCATTE
Giving this to BPE instead
Updated by Benoît PECCATTE about 9 years ago
- Status changed from Pending technical review to Discussion
- Assignee changed from Benoît PECCATTE to Matthieu CERDA
I think we should put everything ins /var/rudder and make exceptions only for a strong reason.
Updated by Jonathan CLARKE almost 9 years ago
Benoît PECCATTE wrote:
I think we should put everything ins /var/rudder and make exceptions only for a strong reason.
Agreed.
Updated by Nicolas CHARLES almost 9 years ago
- Status changed from Discussion to In progress
- Assignee changed from Matthieu CERDA to Nicolas CHARLES
Updated by Nicolas CHARLES almost 9 years ago
- Status changed from In progress to Pending technical review
- Assignee changed from Nicolas CHARLES to Benoît PECCATTE
- Pull Request changed from https://github.com/Normation/rudder-techniques/pull/748 to https://github.com/Normation/rudder-techniques/pull/788/files
Updated by Nicolas CHARLES almost 9 years ago
- Status changed from Pending technical review to Pending release
- % Done changed from 0 to 100
Applied in changeset rudder-techniques|67e2be22d6f2c80282556336265ea5280f20f393.
Updated by Jonathan CLARKE almost 9 years ago
Applied in changeset rudder-techniques|798502d05fe21d075d9de1ce2be7c4fd38c97680.
Updated by Vincent MEMBRÉ almost 9 years ago
- Status changed from Pending release to Released
This bug has been fixed in Rudder 3.2.0~beta1 which was released today.
Actions