Re: command/module promise laments about return code 1

"'Vratislav Podzimek' via help-cfengine" <[email protected]>
Newsgroups gmane.comp.sysutils.cfengine.general
Message-ID <[email protected]>
On Thu, 2023-03-16 at 13:16 -0500, 'Nick Anderson' via help-cfengine wrote:
> 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.
Yes, quite a lot has been done regarding LMDB corruption detection and handling. See these PRs for
details:
https://github.com/cfengine/core/pull/3873
https://github.com/cfengine/core/pull/3880


--
Vratislav

-- 
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/72f73d8e47f8a596d27f08995b40a40121e6d8d0.camel%40northern.tech.
signature.asc (application/pgp-signature, 833 B)
-----BEGIN PGP SIGNATURE-----

iQIzBAABCAAdFiEENAH7ns+FyuCe6j1XmyV2peQQR/QFAmQUKKMACgkQmyV2peQQ
R/SMtxAA6VQzucS9C/APkCEdinP4VUT7K7JXoOBNDi3I5qfCWk5big0lGwDBQ7e7
l+AHpjxMlEfWFYkcjIj6Y7o0c049S5ZSfWB8lT1QVoAmdbBzTG1nv0wgkjOXNXYK
fiFtAV8WE1U2SbLegoY+f7SzbQC0aIEzyX1vMF6jho3DM+SS1XsV7/hTnVkLNE19
3+FuKrFbC9ODFJ06Q7eZMCUp6f+7JXs2OIWVF6wWAL4W1kxoOJCkyKDsRUjNgTWq
wMpkkESkTWh4R6ksZ6xwFzZOAyG7ZEso+fBrUoL/fB5WhJ2zHOyWIBXkV+a2qKOG
QMQbkE5PDeCmMhhIyyINBSBH25u3B8YtLywsj0Keql1+loXTnSdC0edkKqQ3BY+L
SUSrCbz7A8CSKrwqp8bowrlosLc/nTsWot55GR1+NHsen5B6FJF5Qb7vxHaWmqTJ
a0yaEPAhcrLyLP8ELEjouVpUZtaKhG86XV6Rqmz7X1ulQRyHvzAfMgGLN0jNsGS+
OR0aotj35gtbahVxGY1HP3NLhd+VfUB9SM0I5d/JJtQyGbDVTrR7cx/e8H+rtOjm
awxHnR4iALhdzHGMppb5cY5LZVfEWh0SBEeE0PAx7loNvPw6I3arfad28UVaPdZz
oSae03pyOfQYsX6LxbPBB3Q6mFSY5svrJIds9MsUI2ss++G1yO4=
=wg0l
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.