Project

General

Profile

Bug #14559

Invalid cron file put by packaging

Added by Nicolas CHARLES over 1 year ago. Updated 10 months ago.

Status:
Released
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 9ReleasedFélix DALLIDETActions
Bug #16020: Don't edit the cron file in the initial policiesReleasedFélix DALLIDETActions
#1

Updated by Vincent MEMBRÉ over 1 year ago

  • Target version changed from 4.3.11 to 4.3.12
#2

Updated by Vincent MEMBRÉ over 1 year ago

  • Target version changed from 4.3.12 to 4.3.13
#3

Updated by Vincent MEMBRÉ over 1 year ago

  • Target version changed from 4.3.13 to 4.3.14
#4

Updated by Vincent MEMBRÉ about 1 year ago

  • Target version changed from 4.3.14 to 587
#5

Updated by Alexis MOUSSET about 1 year ago

  • Target version changed from 587 to 5.0.13
#6

Updated by Vincent MEMBRÉ about 1 year ago

  • Target version changed from 5.0.13 to 5.0.14
#7

Updated by Vincent MEMBRÉ 12 months ago

  • Target version changed from 5.0.14 to 5.0.15
#8

Updated by Félix DALLIDET 11 months ago

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

Updated by Félix DALLIDET 11 months 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 11 months ago

  • Status changed from Pending technical review to Pending release
#15

Updated by Vincent MEMBRÉ 10 months ago

  • Status changed from Pending release to Released

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

Also available in: Atom PDF