From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id EDE841382C5 for ; Mon, 10 May 2021 05:57:31 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 2EFA7E077D; Mon, 10 May 2021 05:57:31 +0000 (UTC) Received: from smtp.gentoo.org (mail.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 03D42E077D for ; Mon, 10 May 2021 05:57:30 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id D8CB2340F44 for ; Mon, 10 May 2021 05:57:29 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 39E854A0 for ; Mon, 10 May 2021 05:57:28 +0000 (UTC) From: "Zac Medico" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Zac Medico" Message-ID: <1620626243.c980ee7420ff4d06d6a524d47ca13e7c7ac4fbd2.zmedico@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sys-cluster/k3s/ X-VCS-Repository: repo/gentoo X-VCS-Files: sys-cluster/k3s/k3s-1.19.10-r1.ebuild sys-cluster/k3s/k3s-1.20.6.ebuild sys-cluster/k3s/k3s-1.21.0.ebuild X-VCS-Directories: sys-cluster/k3s/ X-VCS-Committer: zmedico X-VCS-Committer-Name: Zac Medico X-VCS-Revision: c980ee7420ff4d06d6a524d47ca13e7c7ac4fbd2 X-VCS-Branch: master Date: Mon, 10 May 2021 05:57:28 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 2e76cafa-4a3c-4b75-adf1-be635d37e507 X-Archives-Hash: b291969f21ca657164f26442c5cb47c4 commit: c980ee7420ff4d06d6a524d47ca13e7c7ac4fbd2 Author: Bjoern Michaelsen libreoffice org> AuthorDate: Mon May 10 05:31:03 2021 +0000 Commit: Zac Medico gentoo org> CommitDate: Mon May 10 05:57:23 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c980ee74 sys-cluster/k3s: add some basic kernel config dependency checks k3s depends on lots of kernel configuration and k3s/containerd arent exactly very helpful with error messages, if the kernel is missing needed features. The attached patch will provide a set of configs needed for k3s to run. The list might be incomplete, but it is a start. Steps to reproduce: 1. emerge k3s ebuild 2. start k3s on a kernel missing the listed config expected behavior: k3s runs or warns about missing kernel features. actual behavior: k3s fails in various ways (sometimes later: not able to set up network or starting containers) and provides error messages that do not directly hint at kernel configuration amiss. Closes: https://bugs.gentoo.org/788991 Package-Manager: Portage-3.0.18, Repoman-3.0.3 Signed-off-by: Zac Medico gentoo.org> sys-cluster/k3s/k3s-1.19.10-r1.ebuild | 3 ++- sys-cluster/k3s/k3s-1.20.6.ebuild | 3 ++- sys-cluster/k3s/k3s-1.21.0.ebuild | 3 ++- 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/sys-cluster/k3s/k3s-1.19.10-r1.ebuild b/sys-cluster/k3s/k3s-1.19.10-r1.ebuild index 07f6eb69c83..e5942a697cb 100644 --- a/sys-cluster/k3s/k3s-1.19.10-r1.ebuild +++ b/sys-cluster/k3s/k3s-1.19.10-r1.ebuild @@ -2,13 +2,14 @@ # Distributed under the terms of the GNU General Public License v2 EAPI=7 -inherit go-module systemd +inherit go-module linux-info systemd DESCRIPTION="Lightweight Kubernetes" HOMEPAGE="https://k3s.io" K3S_ROOT_VERSION=0.6.0-rc3 K3S_TRAEFIK_VERSION=1.81.0 K3S_CNIPLUGINS_VERSION=0.8.6 +CONFIG_CHECK="~BRIDGE_NETFILTER ~CFS_BANDWIDTH ~CGROUP_DEVICE ~CGROUP_PERF ~CGROUP_PIDS ~IP_VS ~MEMCG ~NETFILTER_XT_MATCH_COMMENT ~OVERLAY_FS ~VLAN ~VXLAN" EGO_SUM=( "bazil.org/fuse v0.0.0-20160811212531-371fbbdaa898" diff --git a/sys-cluster/k3s/k3s-1.20.6.ebuild b/sys-cluster/k3s/k3s-1.20.6.ebuild index 6cbd318a7c8..a2e4b10c09a 100644 --- a/sys-cluster/k3s/k3s-1.20.6.ebuild +++ b/sys-cluster/k3s/k3s-1.20.6.ebuild @@ -2,13 +2,14 @@ # Distributed under the terms of the GNU General Public License v2 EAPI=7 -inherit go-module systemd +inherit go-module linux-info systemd DESCRIPTION="Lightweight Kubernetes" HOMEPAGE="https://k3s.io" K3S_ROOT_VERSION=0.8.1 K3S_TRAEFIK_VERSION=1.81.0 K3S_CNIPLUGINS_VERSION=0.8.6 +CONFIG_CHECK="~BRIDGE_NETFILTER ~CFS_BANDWIDTH ~CGROUP_DEVICE ~CGROUP_PERF ~CGROUP_PIDS ~IP_VS ~MEMCG ~NETFILTER_XT_MATCH_COMMENT ~OVERLAY_FS ~VLAN ~VXLAN" EGO_SUM=( "bazil.org/fuse v0.0.0-20160811212531-371fbbdaa898" diff --git a/sys-cluster/k3s/k3s-1.21.0.ebuild b/sys-cluster/k3s/k3s-1.21.0.ebuild index 4b4f13bbf01..f6d024ad125 100644 --- a/sys-cluster/k3s/k3s-1.21.0.ebuild +++ b/sys-cluster/k3s/k3s-1.21.0.ebuild @@ -2,13 +2,14 @@ # Distributed under the terms of the GNU General Public License v2 EAPI=7 -inherit go-module systemd +inherit go-module linux-info systemd DESCRIPTION="Lightweight Kubernetes" HOMEPAGE="https://k3s.io" K3S_ROOT_VERSION=0.8.1 K3S_TRAEFIK_VERSION=9.18.2 K3S_CNIPLUGINS_VERSION=0.8.6 +CONFIG_CHECK="~BRIDGE_NETFILTER ~CFS_BANDWIDTH ~CGROUP_DEVICE ~CGROUP_PERF ~CGROUP_PIDS ~IP_VS ~MEMCG ~NETFILTER_XT_MATCH_COMMENT ~OVERLAY_FS ~VLAN ~VXLAN" EGO_SUM=( "bazil.org/fuse v0.0.0-20160811212531-371fbbdaa898"