🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: linux.debian.bugs.dist
1 messages
1 total messages Started by TheNino Sat, 28 Nov 2026 23:10
Bug#1155709: gdm3: gdm-password includes common-auth, causing fprintd contention and reset loops in GNOME 51
#6636
Author: TheNino
Date: Sat, 28 Nov 2026 23:10
117 lines
6783 bytes
Package: gdm3
Version: 51.1-1+b1
Severity: important
X-Debbugs-Cc: libpam-fprintd@packages.debian.org

Dear Maintainer,

When fingerprint authentication is enabled via `pam-auth-update` (which adds
`pam_fprintd.so` to `/etc/pam.d/common-auth`), `/etc/pam.d/gdm-password`
inherits `pam_fprintd.so` through `@include common-auth` even though GDM
already runs a dedicated `/etc/pam.d/gdm-fingerprint` service in parallel.

### What happens
1. On screen lock / login, GDM starts both `gdm-fingerprint` and `gdm-password`
concurrently.
2. `gdm-fingerprint` claims the fingerprint reader via `fprintd`.
3. `gdm-password` immediately executes `pam_fprintd.so` from `common-auth`,
which fails instantaneously with:
   `fprintd: Authorization denied to :1.xxx to call method 'Claim' for device
'...': Device was already claimed`
4. With GNOME Shell / GDM 51's unified-auth rework (`AuthServicesLegacy`), this
immediate failure inside `gdm-password` causes mechanism re-selection /
`AuthPrompt` reset churn (and when third-party PAM/auth extensions such as
`gaze` are active, triggers a tight reset loop spawning hundreds of `gdm-
password` workers until `gdm-session-worker` hits `EMFILE` / `SIGTRAP` and
crashes `gnome-shell`).

### Workaround
Removing `pam_fprintd.so` from `/etc/pam.d/common-auth` (leaving
`pam_fprintd.so` only in `/etc/pam.d/gdm-fingerprint`, `sudo`, and `polkit-1`)
eliminates the concurrent `Claim` contention and stabilizes GDM 51.

### Suggested Fix
`/etc/pam.d/gdm-password` is meant strictly for password authentication while
fingerprint authentication is handled separately by `/etc/pam.d/gdm-
fingerprint`. Either:
- `/etc/pam.d/gdm-password` should use a password-only auth stack instead of
`@include common-auth` (similar to Fedora/RHEL's `password-auth` vs
`fingerprint-auth` split), or
- `pam_fprintd.so` / `gdm-password` should skip fingerprint probing when
`PAM_SERVICE=gdm-password`.


-- System Information:
Debian Release: forky/sid
  APT prefers testing
  APT policy: (500, 'testing'), (50, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 7.4.0-rc4-nino (SMP w/8 CPU threads; PREEMPT)
Locale: LANG=it_IT.UTF-8, LC_CTYPE=it_IT.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages gdm3 depends on:
ii  accountsservice                       26.27.3-2
ii  dbus [default-dbus-system-bus]        1.16.4-1
ii  dbus-bin                              1.16.4-1
ii  dconf-cli                             51.0-2
ii  dconf-gsettings-backend               51.0-2
ii  debconf [debconf-2.0]                 1.5.92
ii  gir1.2-gdm-1.0                        51.1-1+b1
ii  gnome-console [x-terminal-emulator]   51.0-2
ii  gnome-session [x-session-manager]     51.0-2
ii  gnome-session-bin                     51.0-2
ii  gnome-session-common                  51.0-2
ii  gnome-settings-daemon                 51.0-2
ii  gnome-shell                           51.0-4+b1
ii  gnome-terminal [x-terminal-emulator]  3.60.0-6
ii  gsettings-desktop-schemas             51.0-2
ii  libaccountsservice1                   26.27.3-2
ii  libaudit1                             1:4.1.2-1+b2
ii  libc6                                 2.43-7
ii  libgdm1                               51.1-1+b1
ii  libglib2.0-0t64                       2.90.1-2
ii  libglib2.0-bin                        2.90.1-2
ii  libgudev-1.0-0                        238-7+b2
ii  libjson-glib-1.0-0                    1.10.8+ds-2+b1
ii  libkeyutils1                          1.6.3-6+b2
ii  libnss-systemd                        262.2-1
ii  libpam-modules                        1.7.0-8
ii  libpam-runtime                        1.7.0-8
ii  libpam-systemd [logind]               262.2-1
ii  libpam0g                              1.7.0-8
ii  libpolkit-gobject-1-0                 128-1
ii  librsvg2-common                       2.63.4+dfsg-4
ii  libselinux1                           3.11-2.1+b1
ii  libsystemd0                           262.2-1
ii  libxau6                               1:1.0.11-1+b2
ii  polkitd                               128-1
ii  procps                                2:4.0.7-1.1
ii  ptyxis [x-terminal-emulator]          50.1-1
ii  systemd [systemd-sysusers]            262.2-1
ii  systemd-sysv                          262.2-1
ii  ucf                                   3.0056
ii  x11-common                            1:7.7+26
ii  x11-xserver-utils                     7.7+11
ii  xterm [x-terminal-emulator]           412-1

Versions of packages gdm3 recommends:
ii  at-spi2-core                       2.62.2-1
ii  desktop-base                       14.0.0~pre3
ii  gnome-session [x-session-manager]  51.0-2
ii  x11-xkb-utils                      7.7+9
ii  zenity                             4.2.2-1

Versions of packages gdm3 suggests:
ii  libpam-fprintd        1.94.5-4+b2
ii  libpam-gnome-keyring  51.1-3
pn  libpam-pkcs11         <none>
pn  libpam-sss            <none>
ii  orca                  51.2-1

-- debconf information:
  gdm3/daemon_name: /usr/sbin/gdm3
* shared/default-x-display-manager: gdm3
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads