Project

General

Profile

Bug #14559

Invalid cron file put by packaging

Added by Nicolas CHARLES 8 months ago. Updated about 23 hours ago.

Status:
Pending release
Priority:
N/A
Category:
Packaging
Target version:
Severity:
User visibility:
Effort required:
Priority:
0

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

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

Associated revisions

Revision a0f9177d (diff)
Added by Félix DALLIDET about 1 month ago

Fixes #14559: Invalid cron file put by packaging

History

#1

Updated by Vincent MEMBRÉ 7 months ago

  • Target version changed from 4.3.11 to 4.3.12
#2

Updated by Vincent MEMBRÉ 6 months ago

  • Target version changed from 4.3.12 to 4.3.13
#3

Updated by Vincent MEMBRÉ 6 months ago

  • Target version changed from 4.3.13 to 4.3.14
#4

Updated by Vincent MEMBRÉ 5 months ago

  • Target version changed from 4.3.14 to 587
#5

Updated by Alexis MOUSSET 5 months ago

  • Target version changed from 587 to 5.0.13
#6

Updated by Vincent MEMBRÉ 3 months ago

  • Target version changed from 5.0.13 to 5.0.14
#7

Updated by Vincent MEMBRÉ about 2 months ago

  • Target version changed from 5.0.14 to 5.0.15
#8

Updated by Félix DALLIDET about 1 month ago

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

Updated by Félix DALLIDET about 1 month 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
#10

Updated by Félix DALLIDET about 1 month ago

  • Status changed from Pending technical review to Pending release

Also available in: Atom PDF