Package: lightdm Severity: important Tags: patch Dear Maintainer,
Please add support for elogind so that lightdm can be used with non-systemd inits. The virtual package logind has been seconded for inclusion in Debian Policy (see #917431) and elogind providing this has migrated to testing. For lightdm to support this and work with elogind the patch below is required. Thanks Mark commit ef221f2191f36669157fda8de95bc21712a0a9c0 Author: Mark Hindley <m...@hindley.org.uk> Date: Tue Feb 12 18:58:35 2019 +0000 Add elogind support. - lightdm optionally depends virtual package logind. - optionally register elogind session via PAM. diff --git a/debian/control b/debian/control index fff913a..88aebb8 100644 --- a/debian/control +++ b/debian/control @@ -33,7 +33,7 @@ Package: lightdm Architecture: any Depends: adduser, dbus, - libpam-systemd [linux-any] | consolekit, + libpam-systemd [linux-any] | logind | consolekit, lightdm-gtk-greeter | lightdm-greeter, lsb-base (>= 3.0-6), ${misc:Depends}, diff --git a/debian/patches/05_debianize-pam-files.patch b/debian/patches/05_debianize-pam-files.patch index 36a112e..3905a83 100644 --- a/debian/patches/05_debianize-pam-files.patch +++ b/debian/patches/05_debianize-pam-files.patch @@ -60,6 +60,11 @@ # Always let the greeter start without authentication auth required pam_permit.so +@@ -15,3 +16,4 @@ + # Setup session + session required pam_unix.so + session optional pam_systemd.so ++session optional pam_elogind.so --- a/data/pam/lightdm-autologin +++ b/data/pam/lightdm-autologin @@ -1,20 +1,37 @@