Bug #9858
closedWhen upgrading Rudder, we get mails from cron saying "ok: Rudder agent check ran without errors."
Description
When we upgrade rudder-agent, the file /etc/cron.d/rudder-agent-uuid is created (see http://www.rudder-project.org/redmine/issues/3930 and http://www.rudder-project.org/redmine/issues/3925 )
This file now calls check_rudder_agent, and it became verbose in 4.0
So during upgrade, we create this cron file ( https://github.com/Normation/rudder-packages/blob/master/rudder-agent/SOURCES/rudder-agent-postinst ) without the > /dev/null, and the file is deleted afterward by techniques
We should probably:- in 4.0 redirect to > /dev/null in the cron
- remove this cron in version 4.1 (cause of the file was in 2.7.2 ...)
Updated by Nicolas CHARLES almost 8 years ago
- Related to Architecture #3930: Rudder-agent cron file now use check-rudder-agent script (/opt/rudder/bin/check-rudder-agent) added
Updated by Nicolas CHARLES almost 8 years ago
- Related to Architecture #8809: Copy check-rudder-agent to rudder-agent repo added
Updated by Nicolas CHARLES almost 8 years ago
- Related to deleted (Architecture #8809: Copy check-rudder-agent to rudder-agent repo)
Updated by Nicolas CHARLES almost 8 years ago
- Related to Bug #7911: Add an output to all Rudder commands added
Updated by Alexandre Anriot almost 8 years ago
Thanks for the ticket Nicolas.
Nicolas CHARLES wrote:
When we upgrade rudder-agent, the file /etc/cron.d/rudder-agent-uuid is created (see http://www.rudder-project.org/redmine/issues/3930 and http://www.rudder-project.org/redmine/issues/3925 )
This file now calls check_rudder_agent, and it became verbose in 4.0So during upgrade, we create this cron file ( https://github.com/Normation/rudder-packages/blob/master/rudder-agent/SOURCES/rudder-agent-postinst ) without the > /dev/null, and the file is deleted afterward by techniques
We should probably:
- in 4.0 redirect to > /dev/null in the cron
- remove this cron in version 4.1 (cause of the file was in 2.7.2 ...)
Updated by Benoît PECCATTE almost 8 years ago
- Status changed from New to In progress
- Assignee set to Benoît PECCATTE
Updated by Benoît PECCATTE almost 8 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/1162
Updated by Benoît PECCATTE almost 8 years ago
- Status changed from Pending technical review to Pending release
- % Done changed from 0 to 100
Applied in changeset rudder-packages|5169f5395b0e4d5ab96b98225900ebc4d7bf8594.
Updated by Vincent MEMBRÉ almost 8 years ago
- Status changed from Pending release to Released
This bug has been fixed in Rudder 4.0.3 and 4.1.0~beta3 which were released today.
- 4.0.3: Announce Changelog
- 4.1.0~beta3: Announce Changelog
- Download: https://www.rudder-project.org/site/get-rudder/downloads/