Source: iptables
Version: 1.8.13-1
Severity: normal
Tags: patch

Hi,

While working on the iptables merge in Ubuntu, I noticed that several
of the shell tests call nft directly (e.g. chain/0005base-delete_0),
and some are skipped if nft isn't installed.

Ubuntu has been carrying an explicit dependency on nftables:native
since 1.8.7-1ubuntu4, following test failures caused by nftables not
being installed:

https://bugs.launchpad.net/bugs/1949603

I'm attaching a patch to add the dependency to Debian's shell
autopkgtest as well.

Thanks,
Zineb
From 2f85868d145cf9d56d40618959f1a3f146f78119 Mon Sep 17 00:00:00 2001
From: Zineb Zaadoud <[email protected]>
Date: Thu, 26 Nov 2026 20:49:24 +0100
Subject: [PATCH] d/t/control: Add nftables:native dependency to shell
 autopkgtest

---
 debian/tests/control | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/debian/tests/control b/debian/tests/control
index b94e7ac..94a2e24 100644
--- a/debian/tests/control
+++ b/debian/tests/control
@@ -63,7 +63,7 @@ Depends: @
 Restrictions: superficial
 
 Tests: run-shell-tests.sh
-Depends: @, iproute2, iputils-ping
+Depends: @, iproute2, iputils-ping, nftables:native
 Restrictions: needs-root, isolation-container, flaky
 
 Tests: run-py-tests.sh
-- 
2.53.0

Reply via email to