Re: set_variable_values_ini() with 3.18.2

"'Vratislav Podzimek' via help-cfengine" <[email protected]>
Newsgroups gmane.comp.sysutils.cfengine.general
Message-ID <[email protected]>
On Wed, 2022-08-10 at 14:25 -0700, Bob wrote:
> I am using community version 3.18.2 on both Debian 10 and Debian 11. When I upgraded from 3.15.1 I
> started getting these errors:
> 
>  verbose: P:    Stack path: /default/main/methods/'Local policies in no specified
> order'/default/sitemain/files/'/etc/xrdp/sesman.ini'/default/set_variable_values_ini/field_edits/'
> .+\s:AlwaysGroupCheck\s:=.:'[1]
>  verbose: Additional promise info: version 'CFEngine Promises.cf 3.18.2' source
> path '/var/cfengine/inputs/lib/files.cf' at line 446
>    error: No matched line to edit fields of for pattern '#+\s*AlwaysGroupCheck\s*=.*' in
> '/etc/xrdp/sesman.ini'
>    error: Errors encountered when actuating fields_edit promise '#+\s*AlwaysGroupCheck\s*=.*'
Hi Bob,
these errors are a result of a change [1] in the edit_line implementation to better inform users
what is happening (the referenced private ticket has a title "Make sure all files and packages
promises inform about all changes they make"). But since you are using the 'set_variable_values_ini'
edit_line bundle, there's no way for you to fix this in your policy. It is actually a bug in the
'set_variable_values_ini' bundle. Feel free to report it. [2]

[1] https://github.com/cfengine/core/commit/9f114044d2530c20797d0c1cac51d2892b476b5f
[2] https://tracker.mender.io

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

iQIzBAABCAAdFiEENAH7ns+FyuCe6j1XmyV2peQQR/QFAmL7jW8ACgkQmyV2peQQ
R/RbWA//QgrZAGw1DZze4+Qy+v4pHqesmTVVk414WQ6vQMyF5rK36+C/k1onFWnq
nWgN0XrI2I6pvngw9kCk7IFdElv9AzpvAx0OJ2IQA+NjEa/N+kK43DBIOVQoOHic
zrFgo2GjvPBntBS42yRibEOu1PSsBAj/gH7j961oUrtc+miYorNlB9mulrHc50qs
CpP/u8nxFe7X0Zu0MZEOMUfZWvyrNOvoCFDcxSNnuRX+THhXv1esqYAGaiUFMqxj
6ngcMBAbeMrUJ4hWjOQ1lykiJxdLwkRGnpHNcHryzqmSQ9gfgP3AmDRrK5q++HWP
9FOCrx9M76P5tT9SGMybON+Z0W5N655XFfPaj9zCBs9tLx5QGBNiZgfRsrmxpZbm
thHGpiKfPYpmml2L6xXsgOf92cTyf7z02Wke6g8JuGf9PDXTJdza1kIxL2eYAuXd
tQdiNouTZrZzJJ/vR5NzN04Q9Qp1WBh+VyEjgCgtiWcg5haLQJTfWIlARoWotEYP
xxpbgONzHwts1VZSQoTdb+KyhGyt2yBqzMfr+ooKvmL6TQvi6FjurR3JquOHCXhy
ptmcaHu5ds2cZsRjuydNILyhOudPkZXNyjApDY4Ef5yFHY++bQQCn3w7Z01Zyxdx
WVde8KIP+UYYXh41VsLCiBGO1VnGwXgrFjPRjSiXX7TIaxgrCkg=
=Mqnu
-----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.