Bug#1037991: iptables: LSB-Tags in /etc/init.d/iptables missing

2023-06-15 Thread Jeremy Sowden
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.


signature.asc
Description: PGP signature


Bug#1037991: Antw: Re: Bug#1037991: iptables: LSB-Tags in /etc/init.d/iptables missing

2023-06-15 Thread Manfred Brandl
No, running `dpkg -S /etc/init.d/iptables` does not identify a package
for it.
I did delete /etc/init.d/iptables from my system as id did not come
with the packages.
Please Close the Bug.
M.
>>> 
Von: Jeremy Sowden 
An:Manfred Brandl ,
<1037...@bugs.debian.org>
Datum: 15.06.2023 16:01
Betreff: Re: Bug#1037991: iptables: LSB-Tags in /etc/init.d/iptables
missing
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.

Angaben gemäß § 14 UGB:
Verkehrsverbund Steiermark GmbH
Firmensitz: Metahofgasse 16, 8020 Graz
Rechtsform: GmbH | FN: 38644f
Firmenbuchgericht: Landesgericht für ZRS Graz




Bug#1037991: iptables: LSB-Tags in /etc/init.d/iptables missing

2023-06-15 Thread Manfred Brandl
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  libc62.36-9
ii  libip4tc21.8.9-2
ii  libip6tc21.8.9-2
ii  libmnl0  1.0.4-3
ii  libnetfilter-conntrack3  1.0.9-3
ii  libnfnetlink01.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  
ii  kmod   30+20221128-1

-- no debconf information