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>

Reply via email to