Actions
Bug #4789
closedBug #4766: check-rudder-agent does not adapt it's check rate to the agent frequency
check-rudder-agent fails on rudder-agent install due to a syntax error when computing run interval
Status:
Released
Priority:
1 (highest)
Assignee:
Jonathan CLARKE
Category:
System integration
Target version:
Pull Request:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
Name check:
Fix check:
Regression:
Description
Since #4766: rudder-agent cannot be installed on debian. This is due to a syntax error when computin run interval
CHECK_INTERVAL=`expr ${RUN_INTERVAL} * 2`
On some shell, particularly when installing on debian, the '*' is interpreted as a wildcard, which result in a syntax error:
Stderr from the command: stdin: is not a tty dpkg-preconfigure: unable to re-open stdin: expr: syntax error dpkg: error processing rudder-agent (--configure): subprocess installed post-installation script returned error exit status 2 configured to not write apport reports Errors were encountered while processing: rudder-agent E: Sub-process /usr/bin/dpkg returned an error code (1)
replacing by:
CHECK_INTERVAL=`expr ${RUN_INTERVAL} "*" 2`
should fix the issue
Updated by Vincent MEMBRÉ over 10 years ago
- Status changed from New to Pending technical review
- Assignee changed from Vincent MEMBRÉ to Jonathan CLARKE
- Pull Request set to https://github.com/Normation/rudder-packages/pull/311
Updated by Vincent MEMBRÉ over 10 years ago
- Status changed from Pending technical review to Pending release
- % Done changed from 0 to 100
Applied in changeset packages:commit:ab3d3021964cd1d0d87877124bf5915092f176ae.
Updated by Jonathan CLARKE over 10 years ago
Applied in changeset packages:commit:ce7c25b3042eb7b880c5a95d9d28e01cdc6c03df.
Updated by Vincent MEMBRÉ over 10 years ago
- Status changed from Pending release to Released
This bug has been fixed in Rudder 2.10.1, which was released today.
Check out:
- The release announcement: http://www.rudder-project.org/pipermail/rudder-announce/2014-June/000087.html
- The full ChangeLog: http://www.rudder-project.org/foswiki/bin/view/System/Documentation:ChangeLog27
- Download information: https://www.rudder-project.org/site/get-rudder/downloads/
Actions