Bug#934491: libelogind0: failing to switch from systemd to sysvinit-core/elogind results in libsystemd.so.0 disappearing

Thorsten Glaser t.glaser at tarent.de
Tue Aug 13 21:36:04 BST 2019


On Tue, 13 Aug 2019, Simon McVittie wrote:

> Ah, that's a major constraint on finding a correct solution here. systemd
> is from the same source package as libsystemd0, so I think it's
> reasonable for them to be in lockstep: systemd executables could well be
> using private symbols or relying on specific behaviour beyond what the

Indeed.

> > I would also add that it surprises me that apt requires symbols from
> > libsystemd.so.
> 
> libapt-pkg uses sd-bus, systemd's implementation of D-Bus (the same one
> provided by libelogind), to tell systemd-logind (or elogind) not to
> shut down while an apt frontend is still installing packages.

Ah.

Can that be moved into a separate subprocess (does sd-bus have
a command-line interface) or, if not, dlopen() so it can be
downgraded to a Recommends? (libsystemd0 is still quasi-Essential
as most dæmons also Depend on it, but this would make apt at
least work.)

Thanks for the explanation,
//mirabilos
-- 
tarent solutions GmbH
Rochusstraße 2-4, D-53123 Bonn • http://www.tarent.de/
Tel: +49 228 54881-393 • Fax: +49 228 54881-235
HRB 5168 (AG Bonn) • USt-ID (VAT): DE122264941
Geschäftsführer: Dr. Stefan Barth, Kai Ebenrett, Boris Esser, Alexander Steeg

**********

Mit der tarent Academy bieten wir auch Trainings und Schulungen in den
Bereichen Softwareentwicklung, Agiles Arbeiten und Zukunftstechnologien an.

Besuchen Sie uns auf www.tarent.de/academy. Wir freuen uns auf Ihren Kontakt.

**********




More information about the Debian-init-diversity mailing list