Project

General

Profile

Actions

Bug #3561

closed

Cron still restarts all the time

Added by Matthieu CERDA over 11 years ago. Updated about 9 years ago.

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

Description

Cron still restarts all the time because the anchors do not work in regexps.


Related issues 1 (0 open1 closed)

Related to Rudder - Bug #3436: Rudder always restarts cron on UbuntuReleasedMatthieu CERDA2013-04-12Actions
Actions #1

Updated by Matthieu CERDA over 11 years ago

  • Status changed from New to Pending technical review
  • % Done changed from 0 to 100
  • Pull Request set to https://github.com/Normation/rudder-techniques/pull/114
Actions #2

Updated by Jonathan CLARKE over 11 years ago

  • Assignee changed from Matthieu CERDA to Jonathan CLARKE

OK, it turns out that CFEngine matches this regex against the whole ps output line, ie something like this:

root     20635     1 20635  0.0  0.1  22428  19  1048    1 11:43 00:00:00 /usr/sbin/cron

So we can use end-anchored regexes (with blabla$) but not start-anchored regexes on the process name (ie no ^/usr/sbin/...).

I'm taking over this PR to rework it.

Actions #3

Updated by Jonathan CLARKE over 11 years ago

  • Status changed from Pending technical review to Pending release

Applied in changeset commit:99423088590287a1f1f2d7b3452a03d9edce7430.

Actions #4

Updated by Jonathan CLARKE over 11 years ago

Applied in changeset commit:c0a4701c61736259d5a35923100eff833543a011.

Actions #5

Updated by Jonathan CLARKE over 11 years ago

  • Status changed from Pending release to Pending technical review
  • Pull Request changed from https://github.com/Normation/rudder-techniques/pull/114 to https://github.com/Normation/rudder-techniques/pull/117

Merged in PR #117

Actions #6

Updated by Jonathan CLARKE over 11 years ago

  • Status changed from Pending technical review to Pending release

Oops, wrong status.

Actions #7

Updated by Matthieu CERDA over 11 years ago

Technical review OK.

Actions #8

Updated by Nicolas PERRON over 11 years ago

  • Status changed from Pending release to Released
Actions #9

Updated by Benoît PECCATTE almost 10 years ago

  • Project changed from 24 to Rudder
  • Category changed from Techniques to Techniques
Actions #10

Updated by Benoît PECCATTE about 9 years ago

  • Target version changed from 2.6.0 to 2.4.5
Actions

Also available in: Atom PDF