Bug #3803
closedrudder-agent init script ignores the /opt/rudder/etc/disable-agent flag file
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 11 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
Updated by Jonathan CLARKE over 11 years ago
- Status changed from Pending technical review to Pending release
Applied in changeset commit:986580fa009a3b84e59bffcabdcef7ce9482b30d.
Updated by Nicolas PERRON over 11 years ago
Applied in changeset commit:eda61e9e09f5130da3bfbac08f06848edce8140b.
Updated by Nicolas PERRON over 11 years ago
- Target version changed from 2.7.1 to 2.7.0
Updated by Nicolas PERRON over 11 years ago
- Status changed from Pending release to Released
Updated by Nicolas PERRON over 11 years ago
This bug has been fixed in Rudder 2.7.0, which was released today.
Check out:
- The release announcement: http://www.rudder-project.org/pipermail/rudder-announce/2013-July/000043.html
- The full ChangeLog: http://www.rudder-project.org/foswiki/bin/view/System/Documentation:ChangeLog27
- Download information: http://www.rudder-project.org/foswiki/Download/
Updated by Benoît PECCATTE over 9 years ago
- Project changed from 34 to Rudder
- Category set to Packaging