Package: cfengine3 Version: 3.21.0-2 Dear Maintainer,
In the shipped masterfiles in cfe_internal/update/update_policy.cf cfengine does its own search for a python executeable in $PATH to create a symlink with its preferred interpreter. But $(sys.bindir) is excluded from the search and therefor cfengine will fail to find /usr/bin/python3 or other python interpreters residing in /usr/bin.
In turn package promises will fail as they are based on python.The issue was reported upstream: https://github.com/cfengine/masterfiles/pull/2665
A patch to fix this behaviour is attached. Best regards, Valentin
diff --git a/cfe_internal/update/update_policy.cf b/cfe_internal/update/update_policy.cf index e71532b4..bba105da 100644 --- cfe_internal/update/update_policy.cf +++ cfe_internal/update/update_policy.cf @@ -90,9 +90,7 @@ bundle agent cfe_internal_setup_python_symlink(symlink_path) { vars: "path" string => getenv("PATH", 1024); - "path_folders" slist => filter("$(sys.bindir)", - splitstring("$(path)", ":", 128), - false, true, 128); + "path_folders" slist => splitstring("$(path)", ":", 128); windows:: "abs_path_folders" -> {"CFE-2309"}