[pkg-netfilter-team] Bug#1037991: iptables: LSB-Tags in /etc/init.d/iptables missing
Jeremy Sowden
jeremy at azazel.net
Thu Jun 15 15:00:32 BST 2023
On 2023-06-15, at 10:41:57 +0200, Manfred Brandl wrote:
> 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?
The iptables package doesn't include an init-script and, TTBOMK, it
never has.
My guess is that it was installed manually.
Does running `dpkg -S /etc/init.d/iptables` identify a package for it?
What's in it?
J.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/pkg-netfilter-team/attachments/20230615/3ef0b80e/attachment.sig>
More information about the pkg-netfilter-team
mailing list