Project

General

Profile

Actions

Bug #16012

closed

Bug #14559: Invalid cron file put by packaging

error at run of rudder-agent once it's bootstrapped (and invalid cron) on Debian 9

Added by Nicolas CHARLES about 5 years ago. Updated almost 5 years ago.

Status:
Released
Priority:
N/A
Category:
Packaging
Target version:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
0
Name check:
Reviewed
Fix check:
Checked
Regression:

Description

E| compliant     Common                    Security parameters                          The internal environment security is acceptable
   error: Template file '/var/rudder/cfengine-community/inputs/common/cron/rudder-agent-community-cron' could not be opened for reading
   error: Method 'setup_cronjob' failed in some repairs
E| compliant     Common                    CRON Daemon                                  Cron daemon status was correct

the file indeed doesn't exists (but rudder-agent-nova-cron does exist)
and the cron file set by packaging is invalid

# cat /etc/cron.d/rudder-agent 
# Cron file for Rudder
#
# Will manually run cf-agent in case cf-execd is no longer running. cf-agent will fire up a new cf-execd.
#
# To temporarily avoid this behaviour, run 'rudder agent disable'

{{#classes.slackware}}
0,5,10,15,20,25,30,35,40,45,50,55 * * * * /opt/rudder/bin/rudder agent check -q >> /var/log/rudder/agent-check/check.log 2>&1
{{/classes.slackware}}
{{^classes.slackware}}
0,5,10,15,20,25,30,35,40,45,50,55 * * * * root /opt/rudder/bin/rudder agent check -q >> /var/log/rudder/agent-check/check.log 2>&1
{{/classes.slackware}}
Actions

Also available in: Atom PDF