[Pkg-utopia-maintainers] Bug#923244: Bug#923244: policykit-1: Please support elogind backend

Michael Biebl biebl at debian.org
Wed Feb 27 13:00:16 GMT 2019


Hi

Am 25.02.19 um 12:49 schrieb Mark Hindley:
> Package: policykit-1
> Version: 0.105-25
> Severity: normal
> 
> Dear Maintainers,
> 
> policykit-1 needs specific support for elogind, an alternative implementation of
> the DBus login1 API for systems not running systemd as pid 1.  Without this
> pkexec and items such as restart, suspend and shut down from the desktop are
> either unavailable or do not function correctly.
> 
> Choice of policykit-1 backend is currently made at compilation time. 
> 
> There appear to be 3 possible choices for adding elogind support:
> 
>  1) Change policykit-1 source to be configured and built twice against both
>     libsystemd-dev and libelogind-dev, generating different flavour binary
>     packages for users to install.
> 
>  2) Implement some sort of runtime dlopen switching.
>  
>  3) Commit libelogind to always be ABI compatible with libsystemd and arrange
>     for libelogind to ship its own version of libsystemd.so.
> 
> Of these, 2) has been suggested by Adam Borowski, but I have not seen a working
> implementation. 3) seems to have the potential for numerous incompatibility and
> maintenance issues. I have proof of concept patches for 1) both against 0.105-25
> and 0.115.
> 
> I am happy to work with you to provide tested patches. Perhaps you could
> indicate which route you would lkie to follow or suggest alternatives we have
> not considered.

I think, only 3) has a chance to work in Debian (or a slight
modification of it).
A complete rebuild against libelogind-dev is only reasonable for source
based distros, where you either rebuild the whole world against systemd
or elogind.
Keep in mind, that we have dozens of packages using logind via
libsystemd0 and not only via the D-Bus API. Recompiling and providing
different flavours for all of them is not going to work, as it will
basically be impossible to get a consistent set of working packages
installed.
elogind should not only have a compatible D-Bus API with logind, clients
using the sd_ API via libsystemd should also not be broken.
Ideally, libelogind0 should not be used at all in Debian.

Regards,
Michael


-- 
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <http://alioth-lists.debian.net/pipermail/pkg-utopia-maintainers/attachments/20190227/f86d7fac/attachment.sig>


More information about the Pkg-utopia-maintainers mailing list