Project

General

Profile

Actions

Bug #3609

closed

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

Added by Dennis Cabooter almost 11 years ago. Updated about 9 years ago.

Status:
Released
Priority:
1
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

Also available in: Atom PDF