#1068409 dovecot-core: avoid linking against libsystemd0

Package:
dovecot-core
Source:
dovecot-core
Description:
secure POP3/IMAP server - core files
Submitter:
Jörg-Volker Peetz
Date:
2024-04-18 00:57:03 UTC
Severity:
normal
Tags:
#1068409#5
Date:
2024-04-04 18:34:28 UTC
From:
To:
Dear Maintainer(s),

in light of the recent xz security breach, I'd like to ask if it
would be possible to rework systemd readiness notification and socket
activation patches to not link against libsystemd as just achieved for
the openssh-server package in version 1:9.7p1-4 ?
This would avoid /usr/bin/dovecot being linked also to three compression
libraries (liblz4, liblzma, libzstd) and to libgpg-error.

Regards,
Jörg.

#1068409#10
Date:
2024-04-16 21:05:17 UTC
From:
To:
Yes, I believe this is reasonable.  I believe the systemd upstream
maintainers have just released an updated MIT-0 licensed example of the
socket activation patches that avoids requiring libsystemd0.  I'll see
about adapting this patch to dovecot.

noah

#1068409#15
Date:
2024-04-18 00:53:24 UTC
From:
To:
Control: tags -1 + upstream

The openssh package's change is at
https://salsa.debian.org/ssh-team/openssh/-/commit/cc5f37cb8405cba624a133f4b8f464fbe381c5c8

As Dovecot natively supports systemd, rather than adding support for it
via a downstream modification as openssh does, it'd be best for this
change to be handled upstream.

noah