Project

General

Profile

Actions

Bug #7100

closed

Launching twice in a row a disabled agent make the agent runs

Added by Nicolas CHARLES over 9 years ago. Updated over 8 years ago.

Status:
Released
Priority:
1 (highest)
Category:
System techniques
Target version:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
Name check:
Fix check:
Regression:

Description

If /opt/rudder/etc/disable-agent is set, the agent is supposed to suicide itself
However, locking can get in the way, and if cf-agent is launch twice in a row, the first run locks the promise that check for the file, and the second run will hapilly ignore this file....


Subtasks 1 (0 open1 closed)

Bug #8434: Syntaxt error in promise.stReleasedNicolas CHARLES2016-06-01Actions
Actions

Also available in: Atom PDF