Re: set_variable_values_ini() with 3.18.2
| Newsgroups | gmane.comp.sysutils.cfengine.general |
|---|---|
| Message-ID | <[email protected]> |
Hi everyone, this issue still persists, right? Regards, Moritz [email protected] schrieb am Dienstag, 16. August 2022 um 14:28:36 UTC+2: > 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/8152cac5-a924-435c-87d9-b65d95539f81n%40googlegroups.com.