Forum: CFEngine Help
Subject: Re: CFEngine Help: Question regarding processes promises.
Author: juriskrumins
Link to topic: https://cfengine.com/forum/read.php?3,27211,27221#msg-27221

Thanks Glen. 
I finally understood why redefining hard coded command is a bad idea.
And that is, probably, because of process_select ext. body (and processes 
promise itself), where you can define different process attributes and use it 
as a filter. And since process_select use certain process attributes and 
background code probably expect /var/cfengine/state/cf_procs file (process 
cache, as far as I understand) be in certain format (like certain attr. in 
certain column), then changing hard coded "ps ..." command will definitely 
break /var/cfengine/state/cf_procs file structure.

Maybe someone can correct me if I'm not right.

_______________________________________________
Help-cfengine mailing list
Help-cfengine@cfengine.org
https://cfengine.org/mailman/listinfo/help-cfengine

Reply via email to