Actions
Bug #5066
closedMissing dependency on which
Status:
Released
Priority:
1 (highest)
Assignee:
Jonathan CLARKE
Category:
Packaging
Target version:
Pull Request:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
Name check:
Fix check:
Regression:
Description
Hi again again,
In rudder-agent-thin (maybe rudder-agent too), /opt/rudder/bin/run-inventory calls the "which" command:
[... blablabla] if [ -x /opt/rudder/bin/perl ]; then [...] elif which fusioninventory-agent > /dev/null 2>&1; then [...] else # No usable FusionInventory installation has been detected, bail out. echo "[ERROR] No usable FusionInventory instance (either from Rudder or the system) detected." exit 1 fi
The test was failing here because the "which" package wasn't installed. Maybe it's worth adding a dependency?
Thanks.
Updated by Matthieu CERDA over 10 years ago
- Status changed from New to In progress
- Assignee set to Matthieu CERDA
- Priority changed from N/A to 1 (highest)
- Target version set to 2.11.0~beta2
Taking this.
Updated by Matthieu CERDA over 10 years ago
- Status changed from In progress 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/rudder-packages/pull/384
PR is ready, used "command" POSIX builtin instead of which, see => http://stackoverflow.com/questions/592620/how-to-check-if-a-program-exists-from-a-bash-script
Updated by Matthieu CERDA over 10 years ago
- Status changed from Pending technical review to Pending release
Applied in changeset commit:a08c459316844906708d323906dabd32d30aabb1.
Updated by Jonathan CLARKE over 10 years ago
Applied in changeset commit:cb8c7cbd84b9427a067645e98813ad531b8b2f41.
Updated by Vincent MEMBRÉ over 10 years ago
- Status changed from Pending release to Released
This bug has been fixed in Rudder 2.11.0~beta2 (announcement , changelog), which were released today.
- Download information: https://www.rudder-project.org/site/get-rudder/downloads/
Updated by Benoît PECCATTE over 9 years ago
- Project changed from 34 to Rudder
- Category set to Packaging
Actions