Bug#1110414: systemd-sysv: Missing versioned dependency on libsystemd-shared
Michael Biebl
biebl at debian.org
Mon Aug 18 10:33:28 BST 2025
On Sun, 10 Aug 2025 13:16:13 +0100 Luca Boccassi <bluca at debian.org> wrote:
> Control: tags -1 moreinfo
>
> The dependencies all look correct to me, so I'm not quite sure I follow
> what the issue is.
>
> Package: systemd-sysv
> Version: 257.7-1
> Depends: systemd (= 257.7-1)
> Pre-Depends: systemd
>
> Package: systemd
> Version: 257.7-1
> Pre-Depends: libc6 (>= 2.38), libsystemd-shared (= 257.7-1)
>
The problem afaics is, that systemd has a Pre-Depends on both the new
libc6 and new libsystemd-shared.
Both are unpacked, then libc6.postinst triggered a daemon-reexec. At
this point old systemd and new libsystemd-shared were installed → crash.
There has been corresponding commit in glibc at the meantime:
https://salsa.debian.org/glibc-team/glibc/-/commit/cab7833001ed8031e1cb834976518463b1d5f2fd
which should avoid this situation.
So I guess this issue is mitigated sufficiently for now so this issue
can be closed.
Going forward, it might make sense to rename libsystemd-shared to
libsystemd-shared-$VER, so they can be installed in parallel on major
version upgrades.
This would ensure that both systemd and systemctl remained functional
during the upgrade and would make upgrades more robust.
Given that systemd is released bi-annually, the NEW churn would be
manageable I think (way less worse than e.g. the kernel package).
Michael
-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_signature.asc
Type: application/pgp-signature
Size: 840 bytes
Desc: OpenPGP digital signature
URL: <http://alioth-lists.debian.net/pipermail/pkg-systemd-maintainers/attachments/20250818/6c41b39b/attachment.sig>
More information about the Pkg-systemd-maintainers
mailing list