Bug #11683

Process management: stopped sends multiple reports.

Added by Janos Mattyasovszky over 2 years ago. Updated over 1 year ago.

Target version:
Minor - inconvenience | misleading | easy workaround
User visibility:
Getting started - demo | first install | level 1 Techniques
Effort required:


I have tried to stop a service and ensure it's stopped / not started with the Rudder Technique.

Filled fields were:

Service name (as seen in chkconfig or systemctl, or Windows tasks):  [ fail2ban ]
This process should be: (o) Stopped
This service should be set to start on boot: (o) No
When stopping this process: (o) Stop gracefully (service xxx stop)

The field Process name (full path to the executable, to be check in 'ps' output) was not filled in because the UI did not complain about it not being set, but if that is the case, there appears to be a reporting error:

[Unexpected] Process of fail2ban was stopped
[Unexpected] Cannot check the status of fail2ban: the process name is not filed

After filling in the Process name field, I got a 100% green compliance.

The Technique should either require the field to be filled or not send double reports.

(version rudder-agent-4.1.8.release-1.SLES.11)


Updated by Janos Mattyasovszky over 2 years ago

  • Description updated (diff)

Updated by Benoît PECCATTE over 2 years ago

  • Effort required set to Small
  • Priority changed from 50 to 66

Updated by Benoît PECCATTE about 2 years ago

  • Priority changed from 66 to 64

This happens when the process range is filled, because the number of processes is counted via ps.
I think we should clearly state this in the help.
Moreover the "was stopped" message should not be unexpected

Was the "process range" field filled in your directive ?


Updated by Benoît PECCATTE almost 2 years ago

  • Assignee set to Félix DALLIDET
  • Priority changed from 64 to 60

Updated by Félix DALLIDET almost 2 years ago

  • Target version set to 4.1.13

The technique should not check if the process is active or not if the field name was not filled and should be reporting an error if:
-the name field is empty and "Running" or "Stopped" are selected.
If you do not fill the field name, "Don't change" option should be selected and the technique should report a compliant report.

I will put "Don't change" as the default option.


Updated by Félix DALLIDET almost 2 years ago

  • Status changed from New to In progress

Updated by Félix DALLIDET almost 2 years ago

  • Status changed from In progress to Pending technical review
  • Assignee changed from Félix DALLIDET to Nicolas CHARLES
  • Pull Request set to

Updated by Félix DALLIDET almost 2 years ago

The technique behaviour is very confusing, changing the sections display may help to understand how it works.


Updated by Félix DALLIDET almost 2 years ago

  • Status changed from Pending technical review to Pending release

Updated by Anonymous almost 2 years ago


Updated by Vincent MEMBRÉ over 1 year ago

  • Status changed from Pending release to Released
  • Priority changed from 60 to 58

This bug has been fixed in Rudder 4.1.13, 4.2.7 and 4.3.3 which were released today.

Also available in: Atom PDF