Actions
Bug #9799
closedGrep error when running the agent
Pull Request:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
Name check:
Fix check:
Regression:
Description
Hello,
When running the agent, I get on some servers:
# /opt/rudder/bin/rudder agent check grep: : No such file or directory # /opt/rudder/bin/rudder agent check -i grep: -i: No such file or directory
Here is a few more informations :
# lsb_release -a No LSB modules are available. Distributor ID: Debian Description: Debian GNU/Linux 8.6 (jessie) Release: 8.6 Codename: jessie # dpkg -l|grep rudder-agent ii rudder-agent 4.0.1-jessie0 amd64 Configuration management and audit tool - agent
It seems to be related to the rerouting of stderr in /opt/rudder/share/lib/common.sh line 2:
# Warn on potentially invalid arguments if grep -- -- "$*" > /dev/null
Thanks.
Alexandre
Updated by Alexis Mousset almost 8 years ago
- Category set to Agent
- Assignee set to Alexis Mousset
- Target version set to 4.0.2
Updated by Alexis Mousset almost 8 years ago
- Status changed from New to In progress
Updated by Benoît PECCATTE almost 8 years ago
- Related to User story #9658: Warn the user when he tries to use long arguments with rudder agent added
Updated by Alexis Mousset almost 8 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-agent/pull/106
Updated by Alexis Mousset almost 8 years ago
- Status changed from Pending technical review to Pending release
- % Done changed from 0 to 100
Applied in changeset rudder-agent|2ede2b9b80dfff33188765920142378bd2fc87b9.
Updated by Vincent MEMBRÉ almost 8 years ago
- Status changed from Pending release to Released
This bug has been fixed in Rudder 4.0.2 which was released today.
- 4.0.2: Announce Changelog
- Download: https://www.rudder-project.org/site/get-rudder/downloads/
Actions