From 4cde840e8bd87455f90bb69d1b6e4649e1c8620a Mon Sep 17 00:00:00 2001 From: Ihor Aleksandrychiev Date: Fri, 3 Jul 2026 21:16:09 +0300 Subject: [PATCH 1/4] Added Ubuntu 26 to labels.txt Ticket: ENT-14191 Signed-off-by: Ihor Aleksandrychiev (cherry picked from commit 8b3ce038a84f63b07e3bb8e4de740da843d5c9e8) --- build-scripts/labels.txt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/build-scripts/labels.txt b/build-scripts/labels.txt index af71b27fc..91d5a40b5 100644 --- a/build-scripts/labels.txt +++ b/build-scripts/labels.txt @@ -32,5 +32,7 @@ PACKAGES_x86_64_linux_ubuntu_22 PACKAGES_arm_64_linux_ubuntu_22 PACKAGES_x86_64_linux_ubuntu_24 PACKAGES_arm_64_linux_ubuntu_24 +PACKAGES_x86_64_linux_ubuntu_26 +PACKAGES_arm_64_linux_ubuntu_26 PACKAGES_x86_64_mingw From 55b25e6328a5ba9b32dd5ba9679ceeaa4bc4c116 Mon Sep 17 00:00:00 2001 From: Ihor Aleksandrychiev Date: Wed, 1 Jul 2026 16:17:53 +0300 Subject: [PATCH 2/4] Fixed systemctl stub for uutils coreutils on Ubuntu 26 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The systemctl → echo symlink breaks on Ubuntu 26 because echo is now just an alias into the coreutils multicall binary, which dispatches on argv[0] — invoked as systemctl, it doesn't match, so it fails. Fix: use a no-op stub script that exits 0 instead. Ticket: ENT-14191 Signed-off-by: Ihor Aleksandrychiev (cherry picked from commit eb687ee18dc9fed806b5ed987b99405f4a06cdc8) --- ci/setup-cfengine-build-host.sh | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/ci/setup-cfengine-build-host.sh b/ci/setup-cfengine-build-host.sh index 44334fd62..15343f6c9 100755 --- a/ci/setup-cfengine-build-host.sh +++ b/ci/setup-cfengine-build-host.sh @@ -60,8 +60,13 @@ function cleanup() set -ex if command -v apt 2>/dev/null; then # workaround for CFE-4544, remove scriptlets call systemctl even when systemctl is-system-running returns false - rm /bin/systemctl - ln -s /bin/echo /bin/systemctl + # Replace systemctl with a no-op stub that always succeeds. We can't + # symlink to /bin/echo (or /bin/true): on Ubuntu 26 coreutils is the + # single multi-call uutils binary that dispatches on argv[0], so it + # would fail with "coreutils: unknown program 'systemctl'". + rm -f /bin/systemctl + printf '#!/bin/sh\nexit 0\n' > /bin/systemctl + chmod +x /bin/systemctl apt remove -y cfengine-nova || true elif command -v yum 2>/dev/null; then yum erase -y cfengine-nova || true From c3aba5b47dee971ed36edad2f0b36f79cb132f8f Mon Sep 17 00:00:00 2001 From: Ihor Aleksandrychiev Date: Wed, 1 Jul 2026 15:51:42 +0300 Subject: [PATCH 3/4] Do not install obsolete python package on Ubuntu 26 Ticket: ENT-14191 Signed-off-by: Ihor Aleksandrychiev (cherry picked from commit aebeed5032e1a636a4fb289552525cb2727ae854) --- ci/cfengine-build-host-setup.cf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ci/cfengine-build-host-setup.cf b/ci/cfengine-build-host-setup.cf index b832f6118..c4e148787 100644 --- a/ci/cfengine-build-host-setup.cf +++ b/ci/cfengine-build-host-setup.cf @@ -20,7 +20,7 @@ bundle agent cfengine_build_host_setup "shellcheck" comment => "not sure why only ubuntu-20 needed this."; - debian.(!debian_13.!debian_12.!ubuntu_22.!ubuntu_24.!ubuntu_25):: + debian.(!debian_13.!debian_12.!ubuntu_22.!ubuntu_24.!ubuntu_25.!ubuntu_26):: "python" comment => "debian>=12 and ubuntu>=22 only has python3"; debian.(!debian_9.!debian_10.!debian_11.!ubuntu_20.!ubuntu_18.!ubuntu_16):: From 54c79542b5d6d73743d5fb5ea8db26bc0e21e479 Mon Sep 17 00:00:00 2001 From: Ihor Aleksandrychiev Date: Wed, 1 Jul 2026 10:55:05 +0300 Subject: [PATCH 4/4] Added Ubuntu 26 to labels.txt Ticket: ENT-14191 ChangeLog: None Signed-off-by: Ihor Aleksandrychiev (cherry picked from commit 1926230fd0c4a8466463404d0b2785abf74716da) --- build-scripts/labels.txt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/build-scripts/labels.txt b/build-scripts/labels.txt index 91d5a40b5..97f4bc2e6 100644 --- a/build-scripts/labels.txt +++ b/build-scripts/labels.txt @@ -14,6 +14,8 @@ PACKAGES_HUB_x86_64_linux_ubuntu_22 PACKAGES_HUB_arm_64_linux_ubuntu_22 PACKAGES_HUB_x86_64_linux_ubuntu_24 PACKAGES_HUB_arm_64_linux_ubuntu_24 +PACKAGES_HUB_x86_64_linux_ubuntu_26 +PACKAGES_HUB_arm_64_linux_ubuntu_26 PACKAGES_x86_64_linux_debian_12 PACKAGES_arm_64_linux_debian_12