Project

General

Profile

Actions

Bug #3609

closed

Cron on RHEL/CentOS nodes was restarted at every execution of CFEngine

Added by Dennis Cabooter over 11 years ago. Updated over 9 years ago.

Status:
Released
Priority:
1 (highest)
Assignee:
Nicolas PERRON
Category:
Techniques
Target version:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
Name check:
Fix check:
Regression:

Description

Cron on RHEL nodes displays the following error:

- Rudder system policy: basic setup (common)
  - Common
    - CRON Daemon
      - None - The CRON daemon was not running and could not be restarted - Error

This is because it's looking for the wrong init script. The following error occurs on the RHEL node:

Proposed executable file "/etc/init.d/cron" doesn't exist
/etc/init.d/cron restart promises to be executable but isn't
I: Comment: Restarting crond

The reason is because RHEL has a different init script:

# ls -al /etc/init.d/cron*
-rwxr-xr-x 1 root root 1926 Oct 20  2011 /etc/init.d/crond

Related issues 1 (0 open1 closed)

Related to Rudder - Bug #3730: Cron on RHEL/CentOS and Ubuntu nodes was not checked with initial promisesReleasedJonathan CLARKE2013-07-15Actions
Actions #1

Updated by Nicolas PERRON over 11 years ago

  • Project changed from Rudder to 24
  • Status changed from New to In progress
  • Assignee set to Nicolas PERRON
  • Priority changed from N/A to 1 (highest)
  • Target version set to 2.3.13

Got it, it is a bug introduced #3438 with a wrong class.

Actions #2

Updated by Nicolas PERRON over 11 years ago

  • % Done changed from 0 to 50
  • Pull Request set to https://github.com/Normation/rudder-techniques/pull/130

Pull Request URL added: https://github.com/Normation/rudder-techniques/pull/130

But it is probably not the only modification to do.

Actions #3

Updated by Nicolas PERRON over 11 years ago

Actions #4

Updated by Nicolas PERRON over 11 years ago

  • Status changed from In progress to Pending release
  • % Done changed from 50 to 100

Applied in changeset commit:6f13330b44dd5aa883b0b50b578216b1eb8eeff1.

Actions #5

Updated by Nicolas CHARLES over 11 years ago

Applied in changeset commit:0e2b2d90b16d30addbc01385f236c5ce5705c0b3.

Actions #6

Updated by Nicolas PERRON over 11 years ago

  • Subject changed from ERROR: cron on RHEL(5) nodes to Cron on RHEL/CentOS nodes was restarted at every execution of CFEngine
Actions #7

Updated by Nicolas PERRON over 11 years ago

  • Status changed from Pending release to Released
Actions #8

Updated by Benoît PECCATTE over 9 years ago

  • Project changed from 24 to Rudder
  • Category set to Techniques
Actions

Also available in: Atom PDF