Bug#1014115: uninstall does not properly remove enablement symlinks

Michael Biebl biebl at debian.org
Thu Jun 30 18:50:29 BST 2022


Am 30.06.22 um 16:32 schrieb Luca Boccassi:
> On Thu, 30 Jun 2022 at 15:24, Michael Biebl <biebl at debian.org> wrote:
>>
>> - masking a service upon uninstallation
>> This is a sad reality, as packages still ship legacy SysV init scripts
>> which are conffiles and would suddenly become active if a package is
>> removed but not purged.
> 
> At some point we should just nuke the sysv unit generator upstream.
> It's been 10+ years, there was plenty of time to add native units
> where needed.
> Then this becomes moot - the old init scripts would be just inert when
> booting under systemd.

Dropping SysV init support would indeed solve that issue.

$ apt-file search /etc/init.d/  | wc -l
1311
$ apt-file search /etc/init.d/  | cut -f1 -d':' | sort -u | wc -l
1180

So we have 1180 package shipping 1311 SysV init scripts.

According to [1], we have 314 source packages which lack 365 service 
units. So our coverage is only about 72%.
Dropping systemd-sysv-generator would break quite a lot of packages. Too 
many imho.

Before we can do this, there should be a more active push to get the 
remaining packages migrated.

A MBF seems like a good first step.

This needs someone though to actively work on this.


Any volunteers?




[1] 
https://lintian.debian.org/tags/missing-systemd-service-for-init.d-script
-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_signature
Type: application/pgp-signature
Size: 840 bytes
Desc: OpenPGP digital signature
URL: <http://alioth-lists.debian.net/pipermail/pkg-systemd-maintainers/attachments/20220630/05e0589c/attachment.sig>


More information about the Pkg-systemd-maintainers mailing list