#1039241 ircd-hybrid: ships sysv-init script without systemd unit

Package:
ircd-hybrid
Source:
ircd-hybrid
Description:
high-performance secure IRC server
Submitter:
Date:
2023-11-18 17:21:09 UTC
Severity:
normal
Tags:
#1039241#5
Date:
2023-06-25 22:23:56 UTC
From:
To:
Dear Maintainer(s),

ircd-hybrid 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/ircd-hybrid

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

Thanks!

#1039241#10
Date:
2023-11-18 16:51:50 UTC
From:
To:
Control: tags -1 + help

Hmm, this website seems to have disappeared without any sort of a redirect
to its replacement which is, FTR:

https://udd.debian.org/lintian/?email1=&email2=&email3=&packages=ircd-hybrid&ignpackages=&format=html<_error=on<_warning=on&lintian_tag=#all

The warning doesn't say anything about how to go about creating a
suitable systemd service file for use in Debian packages:

https://udd.debian.org/lintian-tag.cgi?tag=missing-systemd-service-for-init.d-script

but the relevant advice seems to be:

https://wiki.debian.org/Teams/pkg-systemd/Packaging

though that doesn't really contain a good reference service unit.

The recommendation is also to use sandboxing:

https://wiki.debian.org/ServiceSandboxing

This would be excellent for ircd-hybrid to enable, to protect the
rest of the system from issues with ircd-hybrid.

I'll try to get to this, but my time for Debian stuff these days is
very limited, so help welcome, ideally via MRs to:

https://salsa.debian.org/dom/ircd-hybrid

Cheers
Dominic

#1039241#17
Date:
2023-11-18 16:51:50 UTC
From:
To:
Control: tags -1 + help

Hmm, this website seems to have disappeared without any sort of a redirect
to its replacement which is, FTR:

https://udd.debian.org/lintian/?email1=&email2=&email3=&packages=ircd-hybrid&ignpackages=&format=html<_error=on<_warning=on&lintian_tag=#all

The warning doesn't say anything about how to go about creating a
suitable systemd service file for use in Debian packages:

https://udd.debian.org/lintian-tag.cgi?tag=missing-systemd-service-for-init.d-script

but the relevant advice seems to be:

https://wiki.debian.org/Teams/pkg-systemd/Packaging

though that doesn't really contain a good reference service unit.

The recommendation is also to use sandboxing:

https://wiki.debian.org/ServiceSandboxing

This would be excellent for ircd-hybrid to enable, to protect the
rest of the system from issues with ircd-hybrid.

I'll try to get to this, but my time for Debian stuff these days is
very limited, so help welcome, ideally via MRs to:

https://salsa.debian.org/dom/ircd-hybrid

Cheers
Dominic