Re: command/module promise laments about return code 1
"'Nick Anderson' via help-cfengine" <[email protected]>
| Newsgroups | gmane.comp.sysutils.cfengine.general |
|---|---|
| Message-ID | <[email protected]> |
Xander Cage <[email protected]> writes: > Hi Nick, clairvoyant *g*...yes there is indeed a cf-check call... gist >-> <https://gist.github.com/flynn1973/b50011df9cbf9b6a0cdb59838a145ad4> Epic: *[email protected]* So, it looks like this was perhaps introduced back in 3.12. I would consider disabling it as I believe there has been more robust automatic lmdb issue detection and remediation introduced into the agent. Again, I haven't searched deeply but as I recall when the agent starts going if it encounters an error with the lmdbs (not all errors, but the one that cf-check repair would fix at least) happen automatically. Also since that is poking at the lmdbs while the agent is running, if you want to keep it, I would consider moving it's execution outside agent runs to cron or something. Perhaps peek at the watchdog stuff[1], looks like it might be a good fit to put into that sort of thing. Footnotes _________ [1] <https://docs.cfengine.com/docs/3.21/reference-masterfiles-policy-framework-cfe_internal-core-watchdog-watchdog.html> -- You received this message because you are subscribed to the Google Groups "help-cfengine" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/help-cfengine/874jqklfp8.fsf%40northern.tech. -- Nick Anderson | Doer of Things | (+1) 785-550-1767 | https://northern.tech -- You received this message because you are subscribed to the Google Groups "help-cfengine" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/help-cfengine/874jqklfp8.fsf%40northern.tech.