Project

General

Custom queries

Profile

Actions

Bug #3654

closed

Rudder cron file contains error until the use of CFEngine and will display error into /var/mail for root

Added by Dennis Cabooter almost 12 years ago. Updated about 10 years ago.

Status:
Released
Priority:
2
Assignee:
Jonathan CLARKE
Category:
Packaging
Target version:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
Name check:
Fix check:
Regression:

Description

The following cron sometimes causes errors on some nodes:

Cron <root@node> if [ ! -e ${g.rudder_base}/etc/disable-agent -a `ps -efww | grep -E "(cf-execd|cf-agent)" | grep -E "${sys.workdir}/bin/(cf-execd|cf-agent)" | grep -v grep | wc -l` -eq 0 ]; then ${sys.workdir}/bin/cf-agent -f failsafe.cf \&\& ${sys.workdir}/bin/cf-agent; fi

The error is as follows:

/bin/sh: ${g.rudder_base}/etc/disable-agent: bad substitution

Related issues 1 (0 open1 closed)

Has duplicate Rudder - Bug #3600: On a new installation of Rudder, the user root got mail containing error about execution of cronRejected2013-05-17Actions
#1

Updated by Vincent MEMBRÉ almost 12 years ago

  • Category set to Techniques
  • Assignee set to Vincent MEMBRÉ
  • Priority changed from N/A to 2
#2

Updated by Vincent MEMBRÉ almost 12 years ago

  • Status changed from New to Discussion
  • Assignee changed from Vincent MEMBRÉ to Dennis Cabooter
#5

Updated by Nicolas CHARLES almost 12 years ago

  • Subject changed from chmod: cannot access `/var/rudder/cfengine-community/ppkeys/*' to ${g.rudder_base} in the crontab files
#9

Updated by Vincent MEMBRÉ almost 12 years ago

  • Subject changed from ${g.rudder_base} in the crontab files to When migrating a RHEL5 node to Rudder 2.6, CFEngine 3.4.4 is not correctly installed (libtokyo is missing)
  • Status changed from Discussion to 8
#11

Updated by Nicolas PERRON over 11 years ago

  • Target version changed from 2.6.3 to 2.6.4
#13

Updated by Vincent MEMBRÉ over 11 years ago

  • Assignee changed from Dennis Cabooter to Nicolas PERRON
#15

Updated by Nicolas PERRON over 11 years ago

  • Status changed from 8 to Discussion
  • Assignee changed from Nicolas PERRON to Dennis Cabooter
#16

Updated by Nicolas PERRON over 11 years ago

  • Assignee changed from Dennis Cabooter to Nicolas PERRON
#22

Updated by Nicolas PERRON over 11 years ago

  • Status changed from Discussion to In progress
#24

Updated by Nicolas PERRON over 11 years ago

  • Subject changed from When migrating a RHEL5 node to Rudder 2.6, CFEngine 3.4.4 is not correctly installed (libtokyo is missing) to Rudder cron file contains error until the use of CFEngine and will display error into /var/mail for root
  • Status changed from In progress to Pending technical review
  • % Done changed from 0 to 100
  • Pull Request set to https://github.com/Normation/rudder-packages/pull/99
#25

Updated by Nicolas PERRON over 11 years ago

  • Assignee changed from Nicolas PERRON to Matthieu CERDA
#26

Updated by Matthieu CERDA over 11 years ago

  • Assignee changed from Matthieu CERDA to Nicolas PERRON
#28

Updated by Jonathan CLARKE over 11 years ago

  • Status changed from Pending technical review to Discussion
#29

Updated by Nicolas PERRON over 11 years ago

  • Assignee changed from Nicolas PERRON to Jonathan CLARKE
#30

Updated by Nicolas PERRON over 11 years ago

  • Status changed from Discussion to Pending technical review
#31

Updated by Jonathan CLARKE over 11 years ago

  • Project changed from 24 to 34
  • Category deleted (Techniques)
#32

Updated by Jonathan CLARKE over 11 years ago

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

Updated by Nicolas PERRON over 11 years ago

  • Status changed from Pending release to Released
#34

Updated by Benoît PECCATTE about 10 years ago

  • Project changed from 34 to Rudder
  • Category set to Packaging
Actions

Also available in: Atom PDF