[WARNING: UNSCANNABLE EXTRACTION FAILED]Re: Problems while upgrading to latest cfengine-community LTS

Berthold Cogel <[email protected]> Fri, 31 Oct 2025 09:50:08 +0100
Newsgroups gmane.comp.sysutils.cfengine.general
Message-ID <[email protected]>
This is a multi-part message in MIME format.
--------------bwd4evgmXomjA2j2A3YNomWQ
Content-Type: text/plain; charset="UTF-8"; format=flowed
Content-Transfer-Encoding: quoted-printable

Am 28.10.25 um 20:56 schrieb 'Nick Anderson' via help-cfengine:

> Well, that's unfortunate.
>=20
> Looking at it again the output from the working version said =E2=80=A6
>=20
> verbose: Skipping iteration since variable 'dirs_to_delete' resolves
> to an empty list
>=20
> That doesn't have far to trace. It comes from dirs_found (derived from=20
> findfiles) and dirs_expected (derived from maplist)
>=20
> There was this fix to findfiles() in 3.24, but it only affected windows=
=20
> as far as I know:
>=20
> (ENT-11923)
>=20
>   * Fixed bug related to failing backwards directory traversial when
>     using forward slashes in path argument of the findfiles_up() policy
>     function on Windows.
>=20

Hello Nick,

I've got a test case now. I had to rebuild the directory structure of=20
the modules directory of my test system and copy our default module=20
list. You find the script and the directory attached to this email.

Extract the archive somewhere on one of your systems, change the=20
variable test_dir to the location of the files. I tested it against=20
3.23.0 and 3.24.0 and it shows the problem:

----------:<----------------
R: cf-version: 3.23.0
R: dir: /var/local/diff_test
R: modlist: afs

...

R: modlist: yum
R: found: /var/local/diff_test/idm_users/

...

R: found: /var/local/diff_test/net/
R: expected: /var/local/diff_test/afs/

...


R: expected: /var/local/diff_test/host_config/
----------:<----------------
R: cf-version: 3.24.0
R: dir: /var/local/diff_test
R: modlist: afs

...

R: modlist: yum
R: found: /var/local/diff_test/cmd

...

R: found: /var/local/diff_test/dnf
R: expected: /var/local/diff_test/afs/

...


R: expected: /var/local/diff_test/host_config/
R: diff: /var/local/diff_test/cmd

...

R: diff: /var/local/diff_test/dnf
----------:<----------------

Regards
Berthold Cogel

--=20
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 e=
mail to [email protected].
To view this discussion visit https://groups.google.com/d/msgid/help-cfengi=
ne/a80d316c-d087-4d4a-b56a-324072d92082%40uni-koeln.de.

--------------bwd4evgmXomjA2j2A3YNomWQ
Content-Type: application/gzip; name="diff_test.tar.gz"
Content-Disposition: attachment; filename="diff_test.tar.gz"
Content-Transfer-Encoding: base64

H4sIAGhsBGkAA+2c2Y6jOBSG6zpPgVBfJKOaCVsSqUszmjdBDpgEFUsaQ2uiUr37+JjNGfUW
FDy0+v9Ukg3eIL+XY2NXnCZJWHNRb59mw5EcdjvlSv7rKr+7cx3X2XuBHzw5rrw6PFm7+R5p
pBE1qyzrqSrL+lvxvhf+kxIP+hf1ZaY6cL/+nu850N8Eo/5pnIeN4JV4eC24X39/57rQ3wSj
/ix5vPItE9q/d0D7N8KofxazSyjb/2dePbge3K9/4Hg76G+CUf8Tq/k8HcCE9h/4sP+MMOpf
s4hFswwBE/Sn6NDfAKP+CUsz78iKx9eACfafe4D+Rhj1F+K8HPvPdwPob4JR/9fquBz9PbR/
M4z6X5t8Ofr7Pub/Rhj1j8/RTAuAk+x/tH8j3Iz/4Su/zjADmGD/+QHmf0YY9a9YnDaiOC1D
f9+H/iYY9T+Xog6jskjSR1eB+/UPHA/jvxG08b9IlmP/efs99DeBZv/P9fl3iv4uxn8zaN//
imvEZtkHMmH8d/fo/40w6h/xaqZNQBPaf7DD+p8RtPnfVWTlDNb/pPbv4PufGbT2n8dLsv88
6G+CUf8LW9D6r3dA/2+EUf+cpdlyxv8A9p8R9P0/xSlL2ULsf6z/mOF2/99y2j/sPzPo/X/B
TrzdAu49tCLcr3/g7WD/GWHUn9fRkuw/6G8E7fwPn+sM2AT9fQff/42gzf+rcoa9n8SU8X+P
8x9G0Nb/mrhcjv4H2P9G0PZ/i3ymDmCC/nvM/82gnf+M0uLEHmv5t9yvv+9g/48ZtO+/y1r/
x/hvhC/P/x9bEe7XP3Bx/tcM2vpfearKWaaAU/p/nP81w6D/H1EyVxkk8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