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.

Attachment: signature.asc
Description: PGP signature

Reply via email to