From 03f388f247a27329be33b7eb6c46272643c2d693 Mon Sep 17 00:00:00 2001 From: Ihor Aleksandrychiev Date: Wed, 1 Jul 2026 10:55:05 +0300 Subject: [PATCH 1/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 b6f880e9f..3a9abe29f 100644 --- a/build-scripts/labels.txt +++ b/build-scripts/labels.txt @@ -18,6 +18,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_11 PACKAGES_arm_64_linux_debian_11 From f1d4713d77c65ce03f3c2c9b9c753f5688a76f54 Mon Sep 17 00:00:00 2001 From: Ihor Aleksandrychiev Date: Wed, 1 Jul 2026 15:51:42 +0300 Subject: [PATCH 2/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 2672f0ab9..2b78e75d4 100644 --- a/ci/cfengine-build-host-setup.cf +++ b/ci/cfengine-build-host-setup.cf @@ -18,7 +18,7 @@ bundle agent cfengine_build_host_setup ubuntu_20:: "autoconf" comment => "because on arm ubuntu-20 we need to reconfigure the debian-9 bootstrapped configure scripts."; "shellcheck" comment => "not sure why only ubuntu-20 needed this."; - debian.(!debian_12.!ubuntu_22):: + debian.(!debian_12.!ubuntu_22.!ubuntu_26):: "python" comment => "debian-12 has only python3"; !(debian_9|ubuntu_16).(debian|ubuntu):: "default-jre" comment => "on debian10+ and ubuntu18+ this will be jdk11, good enough for jenkins 2.426.1 https://www.jenkins.io/doc/book/platform-information/support-policy-java/index.html"; From f1686a7223943b218035b7ac757e428c30c1c4bb Mon Sep 17 00:00:00 2001 From: Ihor Aleksandrychiev Date: Wed, 1 Jul 2026 16:17:53 +0300 Subject: [PATCH 3/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 | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/ci/setup-cfengine-build-host.sh b/ci/setup-cfengine-build-host.sh index e41ea2c4b..0f4324451 100755 --- a/ci/setup-cfengine-build-host.sh +++ b/ci/setup-cfengine-build-host.sh @@ -24,6 +24,14 @@ 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 + # 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 5bf860f853c9b92197846b2712ed6cc25b0c7b44 Mon Sep 17 00:00:00 2001 From: Ihor Aleksandrychiev Date: Fri, 3 Jul 2026 21:16:09 +0300 Subject: [PATCH 4/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 3a9abe29f..4cc6e8b79 100644 --- a/build-scripts/labels.txt +++ b/build-scripts/labels.txt @@ -43,6 +43,8 @@ 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