Article View: linux.debian.bugs.dist
Article #6436Bug#1155549: netfilter-persistent systemd service silently fails when the rules contain errors
From: David Plassmann
Date: Fri, 27 Nov 2026 14:50
Date: Fri, 27 Nov 2026 14:50
25 lines
3562 bytes
3562 bytes
Package: netfilter-persistent Severity: important Dear Maintainer, When one has an error in ones ruleset, then the following lines will make netfilter-persistent silently fail. https://salsa.debian.org/debian/iptables-persistent/-/blob/debian/plugins/15-ip4tables?ref_type=heads#L39 https://salsa.debian.org/debian/iptables-persistent/-/blob/debian/plugins/25-ip6tables?ref_type=heads#L41 If this happens with no other rules loadedi(at reboot for example), then this would mean that no rules will be loaded and the machine would be unprotected without hinting the user. If the lines would return non-zero the systemd service would fail and let the user know that it could not load the rules. (bug report not generated on the system that expirienced the issue) -- System Information: Debian Release: 13.8 APT prefers stable-updates APT policy: (500, 'stable-updates'), (500, 'stable-security'), (500, 'stable') Architecture: amd64 (x86_64) Kernel: Linux 7.3.6-1-cachyos-bore (SMP w/16 CPU threads; PREEMPT) Kernel taint flags: TAINT_CPU_OUT_OF_SPEC Locale: LANG=C, LC_CTYPE=C.UTF-8 (charmap=UTF-8), LANGUAGE not set Shell: /bin/sh linked to /usr/bin/dash Init: unable to detect Versions of packages netfilter-persistent depends on: ii init-system-helpers 1.69~deb13u1 netfilter-persistent recommends no packages. Versions of packages netfilter-persistent suggests: pn iptables-persistent <none>
Technical Details
Message-ID:
<O45qV-etSI-3@gated-at.bofh.it>Path:
mbox-mo1.pugleaf.net!news-can.pugleaf.net!srl.newsdeef.eu!news.samoylyk.net!gothmog.csi.it!bofh.it!news.nic.it!robomodShow Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-can.pugleaf.net!srl.newsdeef.eu!news.samoylyk.net!gothmog.csi.it!bofh.it!news.nic.it!robomod From: David Plassmann <me@allg.one> Newsgroups: linux.debian.bugs.dist Subject: Bug#1155549: netfilter-persistent systemd service silently fails when the rules contain errors Date: Fri, 27 Nov 2026 15:50:01 +0100 Message-ID: <O45qV-etSI-3@gated-at.bofh.it> X-Mailbox-Line: From debian-bugs-dist-request@lists.debian.org Fri Nov 27 14:47:08 2026 Old-Return-Path: <debbugs@buxtehude.debian.org> X-Spam-Flag: NO X-Spam-Score: -1.451 Reply-To: David Plassmann <me@allg.one>, 1155549@bugs.debian.org Resent-To: debian-bugs-dist@lists.debian.org Resent-Cc: packages@qa.debian.org X-Debian-Pr-Message: report 1155549 X-Debian-Pr-Package: netfilter-persistent X-Debian-Pr-Source: iptables-persistent X-Halone-ID: e1c9d8ac-ea6e-11f1-948d-6f41e5554e2a Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 X-Mailer: reportbug 13.2.0 X-Greylist: delayed 967 seconds by postgrey-1.37 at buxtehude; Fri, 27 Nov 2026 14:45:43 UTC X-Debian-Message: from BTS X-Mailing-List: <debian-bugs-dist@lists.debian.org> archive/latest/2005402 List-ID: <debian-bugs-dist.lists.debian.org> List-URL: <https://lists.debian.org/debian-bugs-dist/> Approved: robomod@news.nic.it Lines: 25 Organization: linux.* mail to news gateway Sender: robomod@news.nic.it X-Original-Date: Fri, 27 Nov 2026 14:28:58 +0000 X-Original-Message-ID: <179578973800.3203.658973680064810275.reportbug@783bab420a1b>