Project

General

Profile

Actions

Bug #3803

closed

rudder-agent init script ignores the /opt/rudder/etc/disable-agent flag file

Bug #3803: rudder-agent init script ignores the /opt/rudder/etc/disable-agent flag file

Added by Jonathan CLARKE over 12 years ago. Updated almost 11 years ago.

Status:
Released
Priority:
3
Assignee:
Nicolas PERRON
Category:
Packaging
Target version:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
Name check:
Fix check:
Regression:

Description

If you run "service rudder-agent restart", it will launch the CFEngine daemons, even if the /opt/rudder/etc/disable-agent is present.

This isn't very serious, since as soon as the agent runs, it will kill these daemons and halt. But still, it's wasteful, and confusing. For example, if a sysadmin doesn't know about the /opt/rudder/etc/disable-agent flag, and tries to restart rudder-agent, he may well be confused - the init script says OK, it started everything, but a few minutes later rudder-agent is not working still.

We should adapt the init script to detect this file and complain loudly about it.

Updated by Jonathan CLARKE over 12 years ago Actions #1

  • Status changed from In progress to Pending technical review
  • Assignee changed from Jonathan CLARKE to Nicolas PERRON
  • Pull Request set to https://github.com/Normation/rudder-packages/pull/91

PR available, NicoP can you review please? https://github.com/Normation/rudder-packages/pull/91

Updated by Nicolas PERRON over 12 years ago Actions #2

Approved !

Updated by Nicolas PERRON over 12 years ago Actions #3

  • % Done changed from 0 to 100

Updated by Jonathan CLARKE over 12 years ago Actions #4

  • Status changed from Pending technical review to Pending release

Applied in changeset commit:986580fa009a3b84e59bffcabdcef7ce9482b30d.

Updated by Nicolas PERRON over 12 years ago Actions #5

Applied in changeset commit:eda61e9e09f5130da3bfbac08f06848edce8140b.

Updated by Nicolas PERRON over 12 years ago Actions #6

  • Target version changed from 2.7.1 to 2.7.0

Updated by Nicolas PERRON over 12 years ago Actions #7

  • Status changed from Pending release to Released

Updated by Nicolas PERRON over 12 years ago Actions #8

This bug has been fixed in Rudder 2.7.0, which was released today.
Check out:

Updated by Benoît PECCATTE almost 11 years ago Actions #9

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

Also available in: PDF Atom