<?xml version="1.0" encoding="UTF-8" ?>

<bugzilla version="5.2"
          urlbase="https://bugzilla.altlinux.org/"
          
          maintainer="jenya@basealt.ru"
>

    <bug>
          <bug_id>61719</bug_id>
          
          <creation_ts>2026-11-30 16:48:47 +0300</creation_ts>
          <short_desc>Регрессия в gnome-shell-51.1-alt1: при выходе из сна (suspend) диалог разблокировки плодит сотни gdm-session-worker и исчерпывает лимит соединений D-Bus для root</short_desc>
          <delta_ts>2026-12-01 19:52:07 +0300</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>4</classification_id>
          <classification>Development</classification>
          <product>Sisyphus</product>
          <component>gnome-shell</component>
          <version>unstable</version>
          <rep_platform>x86_64</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P5</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Vladimir Cherny">black</reporter>
          <assigned_to name="Yuri N. Sedunov">aris</assigned_to>
          <cc>andy</cc>
    
    <cc>aris</cc>
          
          <qa_contact>qa-sisyphus</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>305522</commentid>
    <comment_count>0</comment_count>
    <who name="Vladimir Cherny">black</who>
    <bug_when>2026-11-30 16:48:47 +0300</bug_when>
    <thetext>gnome-shell-51.1-alt1
Окружение: Включён панельный режим (alt-panelmoded / dash-to-panel + arcmenu). Воспроизводимость в ванильной сессии GNOME (без панельного режима) не проверялась.
После обновления gnome-shell до версии 51.1-alt1 (Wayland-сессия) при выходе ноутбука из спящего режима (suspend) на экране блокировки перестаёт появляться поле ввода пароля, и разблокировать систему штатным способом невозможно.
Причина и диагностика:
На машине отсутствует сканер отпечатков пальцев (но пакет fprintd установлен по зависимостям). При пробуждении после suspend модуль аутентификации диалога разблокировки (unlockDialog.js / authServices.js) пытается запустить gdm-fingerprint, получает тайм-аут и уходит в бесконечный цикл перезапуска верификации.
В результате в системе за несколько секунд порождаются сотни зависших процессов gdm-session-worker (от UID 0), каждый из которых удерживает по 4–5 открытых подключений к /run/dbus/system_bus_socket. Это полностью исчерпывает лимит системного D-Bus (max_connections_per_user = 256 для root), после чего gdm-password не может подключиться к шине для проверки пароля и отваливается по таймауту.
Фрагменты логов (journalctl):

gnome-shell[1057523]: Failed to start gdm-fingerprint verification for user: Gio.IOErrorEnum: Истекло время ожидания
  _startService@resource:///org/gnome/shell/gdm/authServices.js:453:42
  beginVerification@resource:///org/gnome/shell/gdm/authServices.js:177:24
  _onReset@resource:///org/gnome/shell/ui/unlockDialog.js:1012:26
...
fprintd[1456217]: Failed to open connection to bus: GDBus.Error:org.freedesktop.DBus.Error.LimitsExceeded: The maximum number of active connections for UID 0 has been reached
...
gnome-shell[1057523]: Failed to start gdm-password verification for user: Gio.IOErrorEnum: Истекло время ожидания

Проверка сокетов (ss -xp):
Фиксируется более 200 активных процессов gdm-session-worker от UID 0, удерживающих суммарно &gt;300 сокетов system_bus_socket, из-за чего busctl --system list завершается с ошибкой Failed to list names: No buffer space available.
Обходной путь (Workaround):
Маскировка службы systemctl mask fprintd.service и принудительное завершение зависших gdm-session-worker (кроме процесса текущей активной сессии) полностью устраняют проблему.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>305534</commentid>
    <comment_count>1</comment_count>
    <who name="Yuri N. Sedunov">aris</who>
    <bug_when>2026-11-30 18:18:15 +0300</bug_when>
    <thetext>Это апстримный баг:
https://gitlab.gnome.org/GNOME/gnome-shell/-/work_items/9513

Рекомендую отметиться там с комментарием, что у вас он воспроизводится и без сканера.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>305579</commentid>
    <comment_count>2</comment_count>
    <who name="Vladimir Cherny">black</who>
    <bug_when>2026-12-01 15:58:42 +0300</bug_when>
    <thetext>https://gitlab.gnome.org/GNOME/gnome-shell/-/work_items/9513#note_2953083</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>305580</commentid>
    <comment_count>3</comment_count>
    <who name="Yuri N. Sedunov">aris</who>
    <bug_when>2026-12-01 16:14:43 +0300</bug_when>
    <thetext>Полагаю это еще и повод обновить fprintd, которым никто толком не занимается.
https://gitlab.freedesktop.org/libfprint/libfprint/-/releases</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>305585</commentid>
    <comment_count>4</comment_count>
    <who name="Vladimir Cherny">black</who>
    <bug_when>2026-12-01 16:51:32 +0300</bug_when>
    <thetext>Может fprintd и нужен кому-то, но у меня проблема при физическом отсутствии устройства и обновление мне никак не поможет.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>305587</commentid>
    <comment_count>5</comment_count>
    <who name="Yuri N. Sedunov">aris</who>
    <bug_when>2026-12-01 18:35:47 +0300</bug_when>
    <thetext>Должно помочь:
https://packages.altlinux.org/ru/tasks/443128/</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>305590</commentid>
    <comment_count>6</comment_count>
    <who name="Repository Robot">repository-robot</who>
    <bug_when>2026-12-01 19:26:29 +0300</bug_when>
    <thetext>gnome-shell-51.1-alt1.1 -&gt; sisyphus:

Tue Dec 01 2026 Yuri N. Sedunov &lt;aris@altlinux&gt; 51.1-alt1.1
- applied a set of upstream patches to fix:
  https://gitlab.gnome.org/GNOME/gnome-shell/-/work_items/9505
  https://gitlab.gnome.org/GNOME/gnome-shell/-/work_items/9513
  (ALT#61719)
- moved gnome-extension and gnome-shell-extension-tool
  to separate subpackage</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>305591</commentid>
    <comment_count>7</comment_count>
    <who name="Andrew Vasilyev">andy</who>
    <bug_when>2026-12-01 19:39:12 +0300</bug_when>
    <thetext>(Ответ для Yuri N. Sedunov на комментарий #3)
&gt; Полагаю это еще и повод обновить fprintd, которым никто толком не занимается.
&gt; https://gitlab.freedesktop.org/libfprint/libfprint/-/releases

А что с ним не так? Все версии свежие:
https://beta.packages.altlinux.org/en/sisyphus/srpms/libfprint2/
Version: 1.94.100-alt1

Аналогично fprintd:
Source package: fprintd
Version: 1.94.5-alt4
Latest version according to Repology 1.94.5</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>305593</commentid>
    <comment_count>8</comment_count>
    <who name="Yuri N. Sedunov">aris</who>
    <bug_when>2026-12-01 19:52:07 +0300</bug_when>
    <thetext>(Ответ для Andrew Vasilyev на комментарий #7)
&gt; (Ответ для Yuri N. Sedunov на комментарий #3)
&gt; &gt; Полагаю это еще и повод обновить fprintd, которым никто толком не занимается.
&gt; &gt; https://gitlab.freedesktop.org/libfprint/libfprint/-/releases
&gt; 
&gt; А что с ним не так? Все версии свежие:
&gt; https://beta.packages.altlinux.org/en/sisyphus/srpms/libfprint2/
&gt; Version: 1.94.100-alt1
&gt; 
&gt; Аналогично fprintd:
&gt; Source package: fprintd
&gt; Version: 1.94.5-alt4
&gt; Latest version according to Repology 1.94.5

Всё в порядке, я погорячился.

Разве что это накатить можно:
commit c3c82f34930ea4bc9bb8db1303c4bf1371866115 (HEAD -&gt; sisyphus)
Author: Siteshwar Vashisht &lt;svashisht@redhat.com&gt;
Date:   Mon May 26 14:23:59 2025 +0200

    pam: check for a memory allocation failure
...</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>