Re: set_variable_values_ini() with 3.18.2

"[email protected]" <[email protected]> Thu, 15 Aug 2024 08:28:05 -0700 (PDT)
Newsgroups gmane.comp.sysutils.cfengine.general
Message-ID <[email protected]>
Is there any progress on this, please?  It is somewhat of an irritant to us 
and our logging!

Thanks.

-- David Lee

On Wednesday 8 February 2023 at 18:13:15 UTC [email protected] wrote:

> Quickly reviewed the full thread, I don't think an issue was opened. 
> Sounds like it could be an easy fix, but we need a ticket, reproduction 
> information, ideally standalone policy to reproduce, better if it's in the 
> form of an actual pr adding test. 
>
> I'm traveling, will try to remember to follow up but no promises.
>
> On Wed, Feb 8, 2023, 7:04 PM Nick Anderson <[email protected]> wrote:
>
>> Is there a ticket?
>>
>> On Wed, Feb 8, 2023, 4:47 PM [email protected] <[email protected]> 
>> wrote:
>>
>>> 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 
>>> <https://groups.google.com/d/msgid/help-cfengine/8152cac5-a924-435c-87d9-b65d95539f81n%40googlegroups.com?utm_medium=email&utm_source=footer>
>>> .
>>>
>>

-- 
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/08aff54c-193f-4d59-9b15-901ba791fef6n%40googlegroups.com.