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

Bug#923198: would it work with elogind?



Control: tags -1 +patch

[Can't test it right now, perhaps in the evening todorrow.  Noticed
this bug filed on #-changes]

> xserver-xorg-core has a hard dependency on libpam-systemd.  Violates
> "Depends: This declares an absolute dependcy...

No, it has only Recommends.  On the other hand, apt handles unwanted
Recommends in a very nasty way, making it seem the dependency is absolute
if there's any way the Recommends could possibly become satisfied (such
as by switching the init to systemd).

> I blasted libpam-systemd off my system and Xorg didn't even blink.

If I recall correctly, logind (such as libpam-systemd) is needed if you run
X not as root.  The vast majority of us uses gdm3/lightdm/sddm/wdm/xdm/...
which happen to run as root, which makes the dependency indeed wrong even
for Recommends.

But, instead of removing, you can change:
    Recommends: libpam-systemd
to
    Recommends: default-logind | logind

which works nicely with elogind.


Meow!
-- 
⢀⣴⠾⠻⢶⣦⠀
⣾⠁⢠⠒⠀⣿⡁
⢿⡄⠘⠷⠚⠋⠀ Have you accepted Khorne as your lord and saviour?
⠈⠳⣄⠀⠀⠀⠀


Reply to: