Bug 51293 - Не проходит тест test-nss-hosts из-за отсутствия пакета libnss-mymachines и libnss-resolve в зависимостях systemd-tests
Summary: Не проходит тест test-nss-hosts из-за отсутствия пакета libnss-mymachines и l...
Status: NEW
Alias: None
Product: Sisyphus
Classification: Development
Component: systemd-tests (show other bugs)
Version: unstable
Hardware: x86_64 Linux
: P5 normal
Assignee: Alexey Shabalin
QA Contact: qa-sisyphus
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-08-27 13:56 MSK by Nikolai Zurabishvili
Modified: 2025-10-01 15:41 MSK (History)
4 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Nikolai Zurabishvili 2024-08-27 13:56:48 MSK
systemd-tests-255.10-alt2.x86_64

Стенды (обновлены до сизифа):

Server 10.2 office x86-64

Предусловия: # apt-get install systemd-tests

Шаги:
1. /usr/lib/systemd/tests/run-unit-tests.py
либо запустить только этот тест:
# /usr/lib/systemd/tests/unit-tests/test-nss-hosts

Ожидаемый результат: Успешно

Фактический результат: 
...
======== mymachines ========
Failed to load module mymachines: libnss_mymachines.so.2: cannot open shared object file: No such file or directory
...
======== resolve ========
Failed to load module resolve: libnss_resolve.so.2: cannot open shared object file: No such file or directory

Доп: Если вручную установить пакеты:
# apt-get install libnss-mymachines libnss-resolve то тест проходит успешно
Comment 1 Alexander Makeenkov 2025-07-27 12:36:54 MSK
Воспроизводится на systemd-257.7-alt1.x86_64.
Comment 2 Алексей Горячев 2025-10-01 15:41:18 MSK
Актуально для systemd-tests-257.9-alt1.x86_64