[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#931631: Wrong dependency on virtual logind packages



Am 08.07.19 um 18:13 schrieb Colin Watson:
> On Mon, Jul 08, 2019 at 03:14:59PM +0200, Michael Biebl wrote:
>> in #923199, the recommends libpam-systemd was changed to
>> default-logind | logind | libpam-systemd
>>
>> This doesn't really make sense, as openssh does not use any of the
>> logind D-Bus interfaces that are supposed to be provided by those
>> virtual facilities.
>> The libpam-systemd recommends is there to ensure that login sessions are
>> registered by logind and properly moved into their own cgroups.
>> This is not a functionality that is provided by elogind or even relevant
>> for elogind.
> 
> CCing Adam, who suggested the default-logind | logind part of this; I
> know very little about elogind myself.
> 
> I can see how an "artificial" dependency like this might make sense to
> avoid libpam-systemd being pulled in for people who aren't using
> systemd, though, even if other logind implementations don't provide the
> same session registration features.

Well, if that is the sole reason why that alternative dependency was
added, then this is a poor choice.
Also, it would have been a good idea to mention that in the changelog.
What you really want to fix is apt trying to satisfy a recommends over
uninstalling/installing a new init system (which tbh I find kinda odd,
that apt prefers to uninstall a package over not installing a recommends).
And also, this alternative dependency is completely useless if you don't
already have elogind installed, which I suspect is the case (about 1%
have sysvinit installed, the number for elogind is only statistic noise).

Michael

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

Attachment: signature.asc
Description: OpenPGP digital signature


Reply to: