Merge pull request #41857 from ClickHouse/integration-cgroups

Fix cgroups for recent systemd
This commit is contained in:
Mikhail f. Shiryaev 2022-09-28 18:48:26 +02:00 committed by GitHub
commit 79bb44ad80
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -24,6 +24,11 @@ runner_arch() {
esac
}
# We have test for cgroups, and it's broken with cgroups v2
# Ubuntu 22.04 has it enabled by default
sed -r '/GRUB_CMDLINE_LINUX=/ s/"(.*)"/"\1 systemd.unified_cgroup_hierarchy=0"/' -i /etc/default/grub
update-grub
apt-get update
apt-get install --yes --no-install-recommends \