Bug #6429
closedservice rudder-* outputs on stderror
Description
using "service rudder-agent/server-root/... somevalidcommand" outputs on stderr and not stdout on Debian, even if there is no error.
Updated by François ARMAND over 9 years ago
- Assignee set to Benoît PECCATTE
Benoit, could you try to qualify that one ?
Updated by Benoît PECCATTE over 9 years ago
- Assignee changed from Benoît PECCATTE to Jean Cardona
Sorry but I could not find any trace of stderr output in init scripts, except this one:
echo "Cannot find a Java JDK. Please set either set JAVA or put java (>=1.5) in your PATH." 2>&2
Which leads to a failure to start.
Jean, can you elaborate a bit ?
Where and how did you detect this behavior ?
Updated by Jean Cardona over 9 years ago
If I want to redirect the output of
service rudder-agent restart
I need to use
service rudder-agent restart 2> /tmp/test.txt
the agent restarted without error, so as I understand it output should not be stderr
% cat /tmp/test.txt rudder-agent[16804]: [INFO] Using /etc/default/rudder-agent for configuration rudder-agent[16807]: [INFO] Using /var/rudder/cfengine-community for CFEngine workdir rudder-agent[16808]: [INFO] Halting CFEngine Community cf-serverd... rudder-agent[16809]: [INFO] can't read PID file, not stopping cf-serverd rudder-agent[16810]: [INFO] Halting CFEngine Community cf-execd... rudder-agent[17435]: [INFO] Launching CFEngine Community cf-execd... rudder-agent[17533]: [OK] CFEngine Community cf-execd started after 1 seconds
Updated by Alexis Mousset over 8 years ago
- Assignee changed from Jean Cardona to Alexis Mousset
Reproduced on CentOS 7.
Updated by Alexis Mousset over 8 years ago
- Assignee deleted (
Alexis Mousset)
It's the logger -s
option which sends output to stdout.
Updated by Alexis Mousset over 8 years ago
- Target version set to 2.11.20
- Reproduced changed from No to Yes
Updated by Vincent MEMBRÉ over 8 years ago
- Target version changed from 2.11.20 to 2.11.21
Updated by Vincent MEMBRÉ over 8 years ago
- Target version changed from 2.11.21 to 2.11.22
Updated by Vincent MEMBRÉ over 8 years ago
- Target version changed from 2.11.22 to 2.11.23
Updated by Vincent MEMBRÉ over 8 years ago
- Target version changed from 2.11.23 to 2.11.24
Updated by Vincent MEMBRÉ about 8 years ago
- Target version changed from 2.11.24 to 308
Updated by Vincent MEMBRÉ about 8 years ago
- Target version changed from 308 to 3.1.14
Updated by Vincent MEMBRÉ about 8 years ago
- Target version changed from 3.1.14 to 3.1.15
Updated by Vincent MEMBRÉ about 8 years ago
- Target version changed from 3.1.15 to 3.1.16
Updated by Vincent MEMBRÉ about 8 years ago
- Target version changed from 3.1.16 to 3.1.17
Updated by Vincent MEMBRÉ almost 8 years ago
- Target version changed from 3.1.17 to 3.1.18
Updated by Vincent MEMBRÉ almost 8 years ago
- Target version changed from 3.1.18 to 3.1.19
Updated by Jonathan CLARKE over 7 years ago
- Severity set to Minor - inconvenience | misleading | easy workaround
- User visibility set to Operational - other Techniques | Technique editor | Rudder settings
- Effort required set to Small
- Priority set to 21
Updated by Vincent MEMBRÉ over 7 years ago
- Target version changed from 3.1.19 to 3.1.20
Updated by Vincent MEMBRÉ over 7 years ago
- Target version changed from 3.1.20 to 3.1.21
Updated by Vincent MEMBRÉ over 7 years ago
- Target version changed from 3.1.21 to 3.1.22
Updated by Vincent MEMBRÉ over 7 years ago
- Target version changed from 3.1.22 to 3.1.23
Updated by Vincent MEMBRÉ about 7 years ago
- Target version changed from 3.1.23 to 3.1.24
Updated by Vincent MEMBRÉ about 7 years ago
- Target version changed from 3.1.24 to 3.1.25
Updated by Vincent MEMBRÉ almost 7 years ago
- Target version changed from 3.1.25 to 387
Updated by Vincent MEMBRÉ almost 7 years ago
- Target version changed from 387 to 4.1.10
Updated by Benoît PECCATTE almost 7 years ago
- Status changed from New to In progress
- Assignee set to Benoît PECCATTE
Updated by Benoît PECCATTE almost 7 years ago
- Status changed from In progress to Pending technical review
- Assignee changed from Benoît PECCATTE to Alexis Mousset
- Pull Request set to https://github.com/Normation/rudder-packages/pull/1504
Updated by Benoît PECCATTE almost 7 years ago
- Status changed from Pending technical review to Pending release
Applied in changeset rudder-packages|2e57773480f72f87e78bd92638404b4e01af2948.
Updated by Vincent MEMBRÉ over 6 years ago
- Status changed from Pending release to Released
This bug has been fixed in Rudder 4.1.10 and 4.2.4 which were released today.
- 4.1.10: Announce Changelog
- 4.2.4: Announce Changelog
- Download: https://www.rudder-project.org/site/get-rudder/downloads/