:: Re: [devuan-dev] Patch for udisks2 …
Pàgina inicial
Delete this message
Reply to this message
Autor: Mark Hindley
Data:  
A: Andreas Messer
CC: Svante Signell, devuan-dev
Assumpte: Re: [devuan-dev] Patch for udisks2 to enable installation of mate-desktop-environment (+etc)
Andreas,

On Sun, Oct 06, 2019 at 07:14:00PM +0200, Andreas Messer wrote:
> My personal feeling about this: udisks should not depend on libpam* at
> all. My reasoning for this: In no case udisks should care about installed
> pam modules. udisks uses policykit but not pam to determine if a mount is allowed or
> not. It is up to the policykit package to require proper pam-modules to be
> installed since policykit needs to be functional by itself even without
> udisks installed.


Thanks for your detailed analysis of this.

I have got stuck into this today.

I have forked a version for beowulf based on Debian buster (2.8.4-1) and removed
the systemd compile time dependencies and also libpam-systemd runtime.

The good news is that it compiles and installs. I don't have a bare metal
installation to actually check functionality.

However, it still pulls in libpam-elogind or consolekit. That is because they
are dependencies of libpolkit-gobject-{elogind,consolekit}-1-0 which is
required to satisfy the libpolkit-gobject-1-0 dependency.

I now wonder how necessary those are. They were introduced in Devuan and do not
exist in Debian's packaging.

Further work on policykit is required.

Mark