From 4e8fc52d7ff8aaec3f7239d1e999dcb6e9ee8ec3 Mon Sep 17 00:00:00 2001 From: Rob Murray Date: Sat, 4 Oct 2025 14:52:44 +0100 Subject: [PATCH] RHEL RPM: require nftables The dynamically linked RHEL dockerd doesn't strictly need a dependency on nftables (because it doesn't link against libnftables.so). So, commit 1a73c6b didn't make it one. But, it'll already be installed in most places anyway, it'll be required when we deprecate iptables support, and it's needed to try out the experimental nftables support. So, make it a hard dependency now. Signed-off-by: Rob Murray --- rpm/SPECS/docker-ce.spec | 4 ---- 1 file changed, 4 deletions(-) diff --git a/rpm/SPECS/docker-ce.spec b/rpm/SPECS/docker-ce.spec index 39fa401225..4048ea934c 100644 --- a/rpm/SPECS/docker-ce.spec +++ b/rpm/SPECS/docker-ce.spec @@ -25,11 +25,7 @@ Requires: iptables-nft %else Requires: iptables %endif -%if %{undefined _no_libnftables} -# When dockerd is not linked against libnftables, the nftables package -# is not a hard requirement. Requires: nftables -%endif %if %{undefined rhel} || 0%{?rhel} < 9 # Libcgroup is no longer available in RHEL/CentOS >= 9 distros. Requires: libcgroup