Bug 55795 - 150 000+ сообщений от spice-vdagent в journalctl на Education (XFCE) при входе на клиенте FreeIPA в пользователя из доверенного домена Windows AD, после чего SEGFAULT
Summary: 150 000+ сообщений от spice-vdagent в journalctl на Education (XFCE) при вход...
Status: NEW
Alias: None
Product: Sisyphus
Classification: Development
Component: spice-vdagent (show other bugs)
Version: unstable
Hardware: x86_64 Linux
: P5 normal
Assignee: Alexey Shabalin
QA Contact: qa-sisyphus
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-08-29 18:34 MSK by Artem Varaksa
Modified: 2025-09-01 13:46 MSK (History)
3 users (show)

See Also:


Attachments
journalctl.log.txt.gz (142.06 KB, application/gzip)
2025-08-29 18:36 MSK, Artem Varaksa
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Artem Varaksa 2025-08-29 18:34:28 MSK
Шаги
====

1. Развернуть Windows AD DC на Windows Server 2012 R2.

2. Развернуть FreeIPA DC на ALT Server 11.0 x86_64 (minimal).

3. Настроить two-way trust между доменами.

4. Ввести в домен FreeIPA клиента ALT Education (XFCE) 11.0 x86_64 (с помощью sssd).

5. Войти на клиенте в пользователя из доверенного домена Windows AD, введя имя пользователя в виде `user@ad` (пример для realm `ad.testd`).


Фактический результат
=====================

Вход успешный.

Но в journalctl бесконечно много раз в секунду появляются сообщения (полный journalctl загрузки прикреплён):

> spice-vdagentd[1636]: Error getting owner UID for pid 1596: No data available
> spice-vdagentd[1636]: UID mismatch: UID=1615601142 PID=1596 suid=4294967295
> spice-vdagent[1596]: display: failed to call GetCurrentState from mutter over DBUS
> spice-vdagent[1596]:    error message: Невозможно вызвать метод; прокси создан для хорошо известного имени org.gnome.Mutter.DisplayConfig без владельца, и был создан с флагом G_DBUS_PROXY_FLAGS_DO_NOT_AUTO_STAR


Ожидаемый результат
===================

Нет бесконечных сообщений в journalctl.


Воспроизводимость
=================

Воспроизводится на виртуальных машинах:

[sisyphus] ALT Education (XFCE) 11.0 x86_64
spice-vdagent-0.22.1-alt2.x86_64
samba-4.21.7-alt4.x86_64
sssd-2.9.7-alt3.x86_64

[p11+393268.1] ALT Education (XFCE) 11.0 x86_64
spice-vdagent-0.22.1-alt2.x86_64
samba-4.21.7-alt4.x86_64
sssd-2.9.7-alt3.x86_64

[p11] ALT Education (XFCE) 11.0 x86_64
spice-vdagent-0.22.1-alt2.x86_64
samba-4.20.8-alt2.x86_64
sssd-2.9.7-alt1.x86_64
Comment 1 Artem Varaksa 2025-08-29 18:36:14 MSK
Created attachment 19449 [details]
journalctl.log.txt.gz
Comment 2 Artem Varaksa 2025-09-01 13:37:03 MSK
# journalctl -b | grep spice-vdagent | wc -l
150674

После большого количества сообщений spice-vdagent падает:

> kernel: spice-vdagent[1853]: segfault at ffffffffffffffd0 ip 00005616a4b57b09 sp 00007ffd2de5e8c0 error 5 in spice-vdagent[6b09,5616a4b56000+9000] likely on CPU 0 (core 0, socket 0)
> kernel: Code: 0c f0 be 02 00 00 00 31 c0 e8 c3 ed ff ff 48 83 c4 20 48 63 2d 10 c7 00 00 4c 89 ee 4c 89 e7 e8 3d e9 ff ff 48 01 dd 48 89 c6 <48> 8b 7d 20 e8 6e e8 ff ff 48 8b 7d 20 e8 75 ea ff ff 83 f8 01 74

Потом выдаёт ещё несколько ошибок:

> spice-vdagentd[1890]: Error getting active session: No data available

и после этого бесконечный вывод прекращается.