#1039286 netplug: ships sysv-init script without systemd unit

Package:
netplug
Source:
netplug
Description:
network link monitor daemon
Submitter:
Date:
2025-07-22 14:49:02 UTC
Severity:
normal
#1039286#5
Date:
2023-06-25 22:25:29 UTC
From:
To:
Dear Maintainer(s),

netplug has been flagged by Lintian as shipping a sysv-init script
without a corresponding systemd unit file. The default init system in
Debian is systemd, and so far this worked because a transitional
sysv-init-to-unit generator was shipped by systemd. This is in the
process of being deprecated and will be removed by the time Trixie
ships, so the remaining packages that ship init scripts without
systemd units will stop working.

There are various advantages to using native units, for example the
legacy generator cannot tell the different between a oneshot service
and a long running daemon. Also, sanboxing and security features
become available for services. For more information, consult the
systemd documentation:
https://www.freedesktop.org/software/systemd/man/systemd.unit.html

You can find the Lintian warning here:

https://lintian.debian.org/sources/netplug

In case this is a false positive, please add a Lintian override to
silence it and then close this bug.

Thanks!

#1039286#10
Date:
2025-07-22 14:39:14 UTC
From:
To:
Reproduced in Debian GNU/Linux 13 (trixie/testing)

$ uname -a
Linux system 6.12.35+deb13-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.12.35-1
(2025-07-03) x86_64 GNU/Linux

$ sudo journalctl -b -p warning
Jul 22 16:24:33 system systemd-sysv-generator[311]: SysV service
'/etc/init.d/netplug' lacks a native systemd unit file, automatically
generating a unit file for compatibility.
Jul 22 16:24:33 system systemd-sysv-generator[311]: Please update
package to include a native systemd unit file.
Jul 22 16:24:33 system systemd-sysv-generator[311]: ! This compatibility
logic is deprecated, expect removal soon. !
(...)