Package: gdm3
Version: 3.38.2.1-1
Severity: normal
Tags: patch

Dear colleagues,

Please consider adjusting the gdm3 dependencies to support libpam-elogind as
well as libpam-systemd via the logind and default-logind virtual packages.

I think I remember it being said (although I cannot now find the reference,
apologies if I have misremembered) that gdm3 might require systemd --user and
therefore note work with elogind. However, as far as I can see, operation
without systemd --user is supported and the gdm3 changelog only mentions a
requirement for XDG_RUNTIME_DIR which elogind provides.

To confirm this, I have tested gdm3 with libpam-elogind and can find no
breakage.

I would appreciate you considering the attached patch for the bookworm cycle.

Many thanks.

Mark
>From 93583a92f325456b4a2b0b05d509bf9c6ff1b72e Mon Sep 17 00:00:00 2001
From: Mark Hindley <m...@hindley.org.uk>
Date: Wed, 4 Aug 2021 11:32:49 +0100
Subject: [PATCH] Support libpam-elogind and libpam-systemd using the
 default-logind and logind virtual packages.

---
 debian/control    | 2 +-
 debian/control.in | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/debian/control b/debian/control
index 9bb03bbd..9c21f4e9 100644
--- a/debian/control
+++ b/debian/control
@@ -65,7 +65,7 @@ Depends: accountsservice (>= 0.6.35),
          libglib2.0-bin (>= 2.35.0),
          libpam-modules (>= 0.72-1),
          libpam-runtime (>= 0.76-13.1),
-         libpam-systemd [linux-any],
+         default-logind [linux-any] | logind [linux-any],
          librsvg2-common,
          lsb-base (>= 3.2-14),
          policykit-1 (>= 0.105-5~) [linux-any],
diff --git a/debian/control.in b/debian/control.in
index acb93b7d..56d1370b 100644
--- a/debian/control.in
+++ b/debian/control.in
@@ -61,7 +61,7 @@ Depends: accountsservice (>= 0.6.35),
          libglib2.0-bin (>= 2.35.0),
          libpam-modules (>= 0.72-1),
          libpam-runtime (>= 0.76-13.1),
-         libpam-systemd [linux-any],
+         default-logind [linux-any] | logind [linux-any],
          librsvg2-common,
          lsb-base (>= 3.2-14),
          policykit-1 (>= 0.105-5~) [linux-any],
-- 
2.20.1

Reply via email to