Bug#1102524: orphan-sysvinit-scripts: Confusing nftables startup message

Peter Boughton debian_issues at sorcerersisle.com
Wed Apr 9 22:43:39 BST 2025


Package: orphan-sysvinit-scripts
Version: 0.07
Severity: minor
Tags: patch

Dear Maintainer,

The current nftables script displays "Starting nftables: none" when
booting.

This is due to having the name as a description and no name variable.

The attached patch resolves this.

Thanks,

Peter Boughton
-------------- next part --------------
>From 2cfa9efd9038be265a27b667b3f5b8ee63c50dda Mon Sep 17 00:00:00 2001
From: Peter Boughton <debian at sorcerersisle.com>
Date: Wed, 9 Apr 2025 17:12:19 +0100
Subject: [PATCH] Fix name and desc for nftables init script.

This resolves confusing "Starting nftables: none" being displayed on startup.
---
 scripts/nftables | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/scripts/nftables b/scripts/nftables
index ed36eb5..7dc439b 100755
--- a/scripts/nftables
+++ b/scripts/nftables
@@ -16,7 +16,8 @@ fi
 
 # Author: Carsten Leonhardt <leo at debian.org>
 
-DESC="nftables"
+DESC="netfilter firewall"
+NAME="nftables"
 DAEMON=none
 PIDFILE=none
 NFT=/usr/sbin/nft
-- 
2.30.2



More information about the Debian-init-diversity mailing list