Project

General

Profile

Actions

Bug #3803

closed

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

Added by Jonathan CLARKE over 10 years ago. Updated about 9 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.

Actions #1

Updated by Jonathan CLARKE over 10 years ago

  • 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

Actions #2

Updated by Nicolas PERRON over 10 years ago

Approved !

Actions #3

Updated by Nicolas PERRON over 10 years ago

  • % Done changed from 0 to 100
Actions #4

Updated by Jonathan CLARKE over 10 years ago

  • Status changed from Pending technical review to Pending release

Applied in changeset commit:986580fa009a3b84e59bffcabdcef7ce9482b30d.

Actions #5

Updated by Nicolas PERRON over 10 years ago

Applied in changeset commit:eda61e9e09f5130da3bfbac08f06848edce8140b.

Actions #6

Updated by Nicolas PERRON over 10 years ago

  • Target version changed from 2.7.1 to 2.7.0
Actions #7

Updated by Nicolas PERRON over 10 years ago

  • Status changed from Pending release to Released
Actions #8

Updated by Nicolas PERRON over 10 years ago

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

Actions #9

Updated by Benoît PECCATTE about 9 years ago

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

Also available in: Atom PDF