[pkg-netfilter-team] Bug#1037991: iptables: LSB-Tags in /etc/init.d/iptables missing

Manfred Brandl manfred.brandl at verbundlinie.at
Thu Jun 15 09:41:57 BST 2023


Package: iptables
Version: 1.8.9-2
Severity: normal

Dear Maintainer,

the last three lines of the output from "apt purge anacron" read:
---
insserv: warning: script 'iptables' missing LSB tags
insserv: Default-Start undefined, assuming empty start runlevel(s) for script `iptables'
insserv: Default-Stop  undefined, assuming empty stop runlevel(s) for script `iptables'
---

I asked ChatCPT and got the advice to include the following lines into /etc/init.d/iptables
---
### BEGIN INIT INFO
# Provides:          iptables
# Required-Start:    $network
# Required-Stop:     $network
# Default-Start:     2 3 4 5
# Default-Stop:      0 1 6
# Short-Description: Start iptables firewall
# Description:       Start iptables firewall using saved configuration
### END INIT INFO
---

May I suggest that these lines (or the correct version of them) to be included in a following version of the package?

Regards
Manfred

-- System Information:
Debian Release: 12.0
  APT prefers stable-security
  APT policy: (500, 'stable-security'), (500, 'proposed-updates'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 6.1.0-9-amd64 (SMP w/2 CPU threads; PREEMPT)
Locale: LANG=de_AT.UTF-8, LC_CTYPE=de_AT.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages iptables depends on:
ii  libc6                    2.36-9
ii  libip4tc2                1.8.9-2
ii  libip6tc2                1.8.9-2
ii  libmnl0                  1.0.4-3
ii  libnetfilter-conntrack3  1.0.9-3
ii  libnfnetlink0            1.0.2-2
ii  libnftnl11               1.2.4-2
ii  libxtables12             1.8.9-2
ii  netbase                  6.4

Versions of packages iptables recommends:
ii  nftables  1.0.6-2

Versions of packages iptables suggests:
pn  firewalld  <none>
ii  kmod       30+20221128-1

-- no debconf information



More information about the pkg-netfilter-team mailing list