Aleksey, I told you about regex and suggested looking into process_select compound body. Unfortunately, you didn't hear. There is no bug in there, at least until a process which matches 'ntpd' exists in table (it might be vi ntpd.cf which Neil is pointed on), it doesn't have to be ntpd executable.
Speaking about -K, it was told in response to the verbose cf-agent you've supplied with the promise lock set. 2010/9/10 Aleksey Tsalolikhin <atsaloli.t...@gmail.com>: > @Seva: -K did not help. lock is not an issue in this case; regex is. > thanks anyway! > > @neil watson: thanks, Neil! anchoring the regex helped (i.e. the > example works now) > > I don't understand why regex "^ntpd" sets the restart_class, and regex > "ntpd" does not. "ps auwx" output does not contain ntpd at all, so I > don't understand why it would matter if it's ntpd or ^ntpd. Is this a > bug in cfengine or am I missing some subtlety? > > In any case, the example currently in the reference manual does not > work, it's missing the leading carat. > cc'ing the bugs list to fix either cfengine or the reference manual, please. > > Aleksey > _______________________________________________ > Help-cfengine mailing list > Help-cfengine@cfengine.org > https://cfengine.org/mailman/listinfo/help-cfengine > -- SY, Seva Gluschenko. _______________________________________________ Help-cfengine mailing list Help-cfengine@cfengine.org https://cfengine.org/mailman/listinfo/help-cfengine