From bf4f9fa34339273aaac1a7d079c7610c4fe65c3a Mon Sep 17 00:00:00 2001 From: John Audia Date: Thu, 9 Jan 2025 17:35:33 -0500 Subject: [PATCH] lxc: add missing deps Several deps are missing based the output of lxc-checkconfig shown below before this commit is applied. Note - CONFIG_IP_NF_TARGET_MASQUERADE and CONFIG_IP6_NF_TARGET_MASQUERADE are only needed for lxc-net which we do not package. % lxc-checkconfig | grep missing Cgroup device: missing CONFIG_IP_NF_TARGET_MASQUERADE: missing CONFIG_IP6_NF_TARGET_MASQUERADE: missing CONFIG_NETFILTER_XT_TARGET_CHECKSUM: missing FUSE (for use with lxcfs): missing checkpoint restore: missing CONFIG_UNIX_DIAG: missing CONFIG_INET_DIAG: missing CONFIG_PACKET_DIAG: missing CONFIG_NETLINK_DIAG: missing Note - this PR is dependent on https://github.com/openwrt/openwrt/pull/17553 Signed-off-by: John Audia --- utils/lxc/Config.in | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/utils/lxc/Config.in b/utils/lxc/Config.in index 53d7ba5fd733cd..37aa3034be2bc7 100644 --- a/utils/lxc/Config.in +++ b/utils/lxc/Config.in @@ -4,10 +4,12 @@ menu "Configuration" config LXC_KERNEL_OPTIONS bool "Enable kernel support for LXC" default n + select KERNEL_CHECKPOINT_RESTORE select KERNEL_CGROUPS select KERNEL_NAMESPACES select KERNEL_DEVPTS_MULTIPLE_INSTANCES select KERNEL_POSIX_MQUEUE + select KERNEL_CGROUP_DEVICE select KERNEL_CGROUP_SCHED select KERNEL_FAIR_GROUP_SCHED select KERNEL_RT_GROUP_SCHED @@ -16,6 +18,7 @@ config LXC_KERNEL_OPTIONS select KERNEL_MEMCG_KMEM select KERNEL_CPUSETS select PACKAGE_kmod-ikconfig + select PACKAGE_kmod-unix-diag help Select needed kernel options for LXC related utilities. Options include cgroups, namespaces and other miscellaneous options. These @@ -50,6 +53,10 @@ config LXC_NETWORKING default n select PACKAGE_kmod-veth select PACKAGE_kmod-macvlan + select PACKAGE_kmod-inet-diag + select PACKAGE_kmod-ipt-checksum + select PACKAGE_kmod-netlink-diag + select PACKAGE_kmod-packet-diag help Enable "veth pair device" and "macvlan"