Re: Problems while upgrading to latest cfengine-community LTS

"'Nick Anderson' via help-cfengine" <[email protected]> Tue, 28 Oct 2025 14:56:09 -0500
Newsgroups gmane.comp.sysutils.cfengine.general
Message-ID <[email protected]>
--=-=-=
Content-Type: multipart/alternative; boundary="==-=-="

--==-=-=
Content-Type: text/plain; charset="UTF-8"

        until now I wasn't able to reproduce the problem with a
        separate script in an isolated environment. I think I'm
        still missing something. Perhaps I have to rebuild the
        complete directory structure of our setup.

  Well, that's unfortunate.

  Looking at it again the output from the working version said ...

  ,----
  | verbose: Skipping iteration since variable 'dirs_to_delete' resolves
  | to an empty list
  `----

  That doesn't have far to trace. It comes from dirs_found (derived from
  findfiles) and dirs_expected (derived from maplist)

  There was this fix to findfiles() in 3.24, but it only affected
  windows as far as I know:

  (ENT-11923)
  - Fixed bug related to failing backwards directory traversial when
    using forward slashes in path argument of the findfiles_up() policy
    function on Windows.

-- 
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 visit https://groups.google.com/d/msgid/help-cfengine/87wm4eer6k.fsf%40northern.tech.

--==-=-=
Content-Type: text/html; charset="UTF-8"

<blockquote style="border-left: 2px solid gray; padding-left: 4px;">
<p>
until now I wasn't able to reproduce the problem with a separate script in an
isolated environment. I think I'm still missing something. Perhaps I have to
rebuild the complete directory structure of our setup.
</p>
</blockquote>

<p>
Well, that's unfortunate.
</p>

<p>
Looking at it again the output from the working version said &#x2026;
</p>

<pre class="example" id="orgcd98cab">
verbose: Skipping iteration since variable 'dirs_to_delete' resolves
to an empty list
</pre>

<p>
That doesn't have far to trace. It comes from dirs_found (derived from findfiles) and dirs_expected (derived from maplist)
</p>

<p>
There was this fix to findfiles() in 3.24, but it only affected windows as far as I know:
</p>

<p>
(ENT-11923)
</p>
<ul class="org-ul">
<li>Fixed bug related to failing backwards directory traversial when
using forward slashes in path argument of the findfiles_up()
policy function on Windows.</li>
</ul>

<p></p>

-- <br />
You received this message because you are subscribed to the Google Groups &quot;help-cfengine&quot; group.<br />
To unsubscribe from this group and stop receiving emails from it, send an email to <a href="mailto:[email protected]">[email protected]</a>.<br />
To view this discussion visit <a href="https://groups.google.com/d/msgid/help-cfengine/87wm4eer6k.fsf%40northern.tech?utm_medium=email&utm_source=footer">https://groups.google.com/d/msgid/help-cfengine/87wm4eer6k.fsf%40northern.tech</a>.<br />

--==-=-=--

--=-=-=
Content-Type: text/plain; charset="UTF-8"




-- 
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 visit https://groups.google.com/d/msgid/help-cfengine/87wm4eer6k.fsf%40northern.tech.

--=-=-=--