Project

General

Profile

Actions

Bug #14559

closed

Invalid cron file put by packaging

Added by Nicolas CHARLES over 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

The cron file set up via packaging contains

# 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}}

It is put by packaging
cp ./rudder-sources/rudder-techniques/techniques/system/common/1.0/rudder-agent-community-cron ./rudder-agent.cron
$(INSTALL) -m 644 rudder-agent.cron $(DESTDIR)/etc/cron.d/rudder-agent

we shoudl either have a specific cron, ot strips lines


Subtasks 2 (0 open2 closed)

Bug #16012: error at run of rudder-agent once it's bootstrapped (and invalid cron) on Debian 9ReleasedFélix DALLIDETActions
Bug #16020: Don't edit the cron file in the initial policiesReleasedFélix DALLIDETActions
Actions #1

Updated by Vincent MEMBRÉ over 5 years ago

  • Target version changed from 4.3.11 to 4.3.12
Actions #2

Updated by Vincent MEMBRÉ over 5 years ago

  • Target version changed from 4.3.12 to 4.3.13
Actions #3

Updated by Vincent MEMBRÉ over 5 years ago

  • Target version changed from 4.3.13 to 4.3.14
Actions #4

Updated by Vincent MEMBRÉ over 5 years ago

  • Target version changed from 4.3.14 to 587
Actions #5

Updated by Alexis Mousset over 5 years ago

  • Target version changed from 587 to 5.0.13
Actions #6

Updated by Vincent MEMBRÉ about 5 years ago

  • Target version changed from 5.0.13 to 5.0.14
Actions #7

Updated by Vincent MEMBRÉ about 5 years ago

  • Target version changed from 5.0.14 to 5.0.15
Actions #8

Updated by Félix DALLIDET about 5 years ago

  • Status changed from New to In progress
  • Assignee set to Félix DALLIDET
Actions #9

Updated by Félix DALLIDET about 5 years ago

  • Status changed from In progress to Pending technical review
  • Assignee changed from Félix DALLIDET to Benoît PECCATTE
  • Pull Request set to https://github.com/Normation/rudder-techniques/pull/1536
Actions #10

Updated by Félix DALLIDET about 5 years ago

  • Status changed from Pending technical review to Pending release
Actions #11

Updated by Vincent MEMBRÉ about 5 years ago

  • Fix check set to To do
Actions #12

Updated by Vincent MEMBRÉ about 5 years ago

  • Name check set to To do
Actions #13

Updated by Alexis Mousset about 5 years ago

  • Name check changed from To do to Reviewed
Actions #14

Updated by Alexis Mousset about 5 years ago

  • Fix check changed from To do to Checked
Actions #15

Updated by Vincent MEMBRÉ almost 5 years ago

  • Status changed from Pending release to Released

This bug has been fixed in Rudder 5.0.15 which was released today.

Actions

Also available in: Atom PDF