#991880 - gdm3: Please support systemd and elogind via the logind virtual packages (original) (raw)
Reported by: Mark Hindley leepen@debian.org
Date: Wed, 4 Aug 2021 11:24:01 UTC
Severity: normal
Tags: patch
Found in version gdm3/3.38.2.1-1
Fixed in version gdm3/41.3-1
Done: Simon McVittie smcv@debian.org
Bug is archived. No further changes may be made.
Display info messages
Report forwardedto debian-bugs-dist@lists.debian.org, debian-init-diversity@chiark.greenend.org.uk, Debian GNOME Maintainers <pkg-gnome-maintainers@lists.alioth.debian.org>:Bug#991880; Package gdm3. (Wed, 04 Aug 2021 11:24:03 GMT) (full text, mbox, link).
Message #3 received at submit@bugs.debian.org (full text, mbox, reply):
[Message part 1 (text/plain, inline)]
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
[0001-Support-libpam-elogind-and-libpam-systemd-using-logind-virtual.patch (text/x-diff, attachment)]
Information forwardedto debian-bugs-dist@lists.debian.org, Debian GNOME Maintainers <pkg-gnome-maintainers@lists.alioth.debian.org>:Bug#991880; Package gdm3. (Sat, 29 Jan 2022 13:36:04 GMT) (full text, mbox, link).
Acknowledgement sentto Beardy Face <zz_beard@hotmail.com>:
Extra info received and forwarded to list. Copy sent to Debian GNOME Maintainers <pkg-gnome-maintainers@lists.alioth.debian.org>. (Sat, 29 Jan 2022 13:36:04 GMT) (full text, mbox, link).
Message #8 received at 991880@bugs.debian.org (full text, mbox, reply):
[Message part 1 (text/plain, inline)]
On Wed, 4 Aug 2021 12:15:15 +0100 Mark Hindley leepen@debian.org wrote:
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
I also have tested this, by making an equivs package.. gdm3 certainly works if you either build such a package which says libpam-elogind provides libpam-systemd & create a symlink such that pam_systemd.so points to pam_elogind.so
Though I suspect that changing the code to accept either would be better, since the symlink masks similar problems, such as LightDM disabling the power options in it's greeter if no such link exists...
[Message part 2 (text/html, inline)]
Message sent onto Mark Hindley <leepen@debian.org>:
Bug#991880. (Sat, 29 Jan 2022 18:51:05 GMT) (full text, mbox, link).
Message #11 received at 991880-submitter@bugs.debian.org (full text, mbox, reply):
Control: tag -1 pending
Hello,
Bug #991880 in gdm3 reported by you has been fixed in the Git repository and is awaiting an upload. You can see the commit message below and you can check the diff of the fix at:
https://salsa.debian.org/gnome-team/gdm/-/commit/a9f1136e06619a8908fe1ae6a3d04c0683054e2b
Generically depend on any logind implementation on Linux
Closes: #991880
(this message was generated automatically)
Greetings
https://bugs.debian.org/991880
**Added tag(s) pending.**Request was from Simon McVittie <noreply@salsa.debian.org>to 991880-submitter@bugs.debian.org. (Sat, 29 Jan 2022 18:51:05 GMT) (full text, mbox, link).
Reply sentto Simon McVittie <smcv@debian.org>:
You have taken responsibility. (Sat, 29 Jan 2022 19:09:07 GMT) (full text, mbox, link).
Notification sentto Mark Hindley <leepen@debian.org>:
Bug acknowledged by developer. (Sat, 29 Jan 2022 19:09:07 GMT) (full text, mbox, link).
Message #18 received at 991880-close@bugs.debian.org (full text, mbox, reply):
Source: gdm3 Source-Version: 41.3-1 Done: Simon McVittie smcv@debian.org
We believe that the bug you reported is fixed in the latest version of gdm3, which is due to be installed in the Debian FTP archive.
A summary of the changes between this version and the previous one is attached.
Thank you for reporting the bug, which will now be closed. If you have further comments please address them to 991880@bugs.debian.org, and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software pp. Simon McVittie smcv@debian.org (supplier of updated gdm3 package)
(This message was generated automatically at their request; if you believe that there is a problem with it please contact the archive administrators by mailing ftpmaster@ftp-master.debian.org)
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256
Format: 1.8 Date: Sat, 29 Jan 2022 18:28:14 +0000 Source: gdm3 Architecture: source Version: 41.3-1 Distribution: unstable Urgency: medium Maintainer: Debian GNOME Maintainers pkg-gnome-maintainers@lists.alioth.debian.org Changed-By: Simon McVittie smcv@debian.org Closes: 785495 991880 Changes: gdm3 (41.3-1) unstable; urgency=medium .
- Team upload
- New upstream release
- Explicitly pass "-listen tcp" to Xorg if configured with DisallowTCP=false (Closes: #785495). Please note that this configuration continues to be insecure if you have any untrusted devices on your LAN, including games consoles, smart lightbulbs and other embedded devices.
- libgdm: Handle GDM_SUPPORTED_SESSION_TYPES being unset
- Keep wayland enabled for simple-framebuffer DRM drivers
- Restart greeter session if it crashes
- Translation updates
- Various other fixes that were already included as patches in Debian
- Drop patches that were taken from upstream
- Generically depend on any logind implementation on Linux (Closes: #991880)
- Change uid to Debian-gdm for all accesses to /var/lib/gdm3, which is
safer than manipulating a non-root-owned directory as root
- d/generate-config: Create /var/lib/gdm3 if needed, but subsequently don't change anything as root
- d/generate-config: Run
dconf compileas Debian-gdm - d/generate-config: Run pkill as Debian-gdm too, while we're there
- d/gdm3.postinst: Don't create /var/lib/gdm3, it will be created on a just-in-time basis by d/generate-config
- d/gdm3.postinst: Don't change ownership of /var/lib/gdm3
- d/gdm3.dirs: Don't ship root-owned directories which will become owned by Debian-gdm on running systems
- Update spelling of Lintian overrides
- Silence Lintian false positive for package-supports-alternative-init-but-no-init.d-script. /etc/init.d/gdm3 is the LSB equivalent of both gdm3.service and gdm.service.
- d/gdm3.dirs: Drop unnecessary directories Checksums-Sha1: cd198edc4aa86d9ecacdf798aae7c573d9482c5c 2919 gdm3_41.3-1.dsc 194437f9c9a01fb732ee8edb113037ab41746adb 807452 gdm3_41.3.orig.tar.xz 8a7effad74a81d04c232e33000a198547fab2fef 75644 gdm3_41.3-1.debian.tar.xz 85e070e02619efb60f5fc237fc200a1a9be2efc7 15567 gdm3_41.3-1_source.buildinfo Checksums-Sha256: 7140bd22f3b15c65a0bbf59378f6ee126b9b1d020ab27ec83e8e837240e10e2d 2919 gdm3_41.3-1.dsc bb0b650a7cea90f09a33284fbd02975315407efc18e814009852d1bcad3437d4 807452 gdm3_41.3.orig.tar.xz d1582b673af118d39910a88ec5c4386cf0c64b76b6e7808b757786dfc4d61bc8 75644 gdm3_41.3-1.debian.tar.xz c024b58b8786566d39141d5f9e3d3517107827a0c198ad2edfab209597462dfc 15567 gdm3_41.3-1_source.buildinfo Files: 5b470e48fd397c9bc160abaac867df34 2919 gnome optional gdm3_41.3-1.dsc 32e70f633b0709f0345b327d57349c82 807452 gnome optional gdm3_41.3.orig.tar.xz c6762d9997e0440d25fdb1940c651287 75644 gnome optional gdm3_41.3-1.debian.tar.xz 454dc3cfb4e00b640b00463e940a4551 15567 gnome optional gdm3_41.3-1_source.buildinfo
-----BEGIN PGP SIGNATURE-----
iQIzBAEBCAAdFiEENuxaZEik9e95vv6Y4FrhR4+BTE8FAmH1i9kACgkQ4FrhR4+B TE+sIw/9Hj2bTEV1NZAWaSo+sm0OAs3KxD0xmWp0EkekUVtq4FZ6hIa+SQ2N7VuM g0deKdwWgixw2xZ/dDrXYvoTbpzDYoZJbqH7M7K2D5huXHBP/UXuNjMHw8g6Ntbm FZnbiX+pR4dD9JBk8FY0LlsL7piJr5AeNGGWgeZ5InSOSEVe/rz5rNeagDmKivxz oMrOpEK7Q5yBM5oupb9+4uZ4BhSPZqPwHx+kAsYhOW4gDmuxZEKtCdU9RkNmS/1E AAxAXQ4tE+R8ak3XMV/5DWNRvd6IpdgG5KIxbXYzgsQmhV69UQmSjilhE4qZC1NZ +PrGoazqQJErQffTE7gbnkrn1SuunDwORbyx7bvg8XmPMuCU9GehO5JYf/3EaXfY +kEjSgNZrU+j0O265XAfkNYN+Ku7aEDz/La2A0xCzx4QOOvMtmKpLv0SZkn1llfD X+TskJXFAh684ujTZLAJSw6UPp2Zk1do0XOFrVXvOEcx1U0V5yoRqGtb7X7OLJjv E5cw1/snmp0MI7z2qIV+Ad2t9iNfNbMklQ4aClriPq9oe0VdanhdAp+u57gaLvet 3uVuq4G6SYyAa546wCr6U2ka9l3+RSvZKBf/4TRw3r7rytAvhdEMM3x3CxVOtTXO rx6cozFYPuNjSUObjosoJVpheMp7sOzjQM1NORKq/JscXgTRWCI= =wSLE -----END PGP SIGNATURE-----
**Bug archived.**Request was from Debbugs Internal Request <owner@bugs.debian.org>to internal_control@bugs.debian.org. (Fri, 04 Mar 2022 07:26:54 GMT) (full text, mbox, link).
Send a report that this bug log contains spam.
Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified:Mon May 11 22:37:00 2026; Machine Name:berlioz
Debbugs is free software and licensed under the terms of the GNU General Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.
Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.