Project

General

Profile

Actions

Bug #7100

closed

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

Added by Nicolas CHARLES over 5 years ago. Updated almost 5 years ago.

Status:
Released
Priority:
1
Category:
System techniques
Target version:
Severity:
User visibility:
Effort required:
Priority:

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