| Summary: | SSSD couldn't load the configuration database [5]: Input/output error status=4/NOPERMISSION | ||
|---|---|---|---|
| Product: | Sisyphus | Reporter: | Mikhail Ananev <mike1452> |
| Component: | sssd | Assignee: | Evgeny Sinelnikov <sin> |
| Status: | NEW --- | QA Contact: | qa-sisyphus |
| Severity: | major | ||
| Priority: | P5 | CC: | asheplyakov, iv, shaba, sin, slev, varaksaaa, zvn |
| Version: | unstable | ||
| Hardware: | x86_64 | ||
| OS: | Linux | ||
| See Also: |
https://bugzilla.altlinux.org/show_bug.cgi?id=54957 https://bugzilla.altlinux.org/show_bug.cgi?id=54914 |
||
|
Description
Mikhail Ananev
2025-09-18 10:21:48 MSK
то же самое при id_provider = ldap SSSD couldn't load the configuration database [5]: Input/output error sssd.service: Main process exited, code=exited, status=4/NOPERMISSION Unable to find backend for '/var/lib/sss/db/config.ldb' - do you need to set LDB_MODULES_PATH Подтверждаю воспроизводимость ошибки. Шаги ==== 1. # apt-get install -y sssd 2. # systemctl start sssd 3. # journalctl -u sssd --no-pager -l 4. # cat /var/log/sssd/sssd.log Фактический результат ===================== 2. # systemctl start sssd > Job for sssd.service failed because the control process exited with error code. > See "systemctl status sssd.service" and "journalctl -xeu sssd.service" for details. 3. # journalctl -u sssd --no-pager -l > systemd[1]: /usr/lib/systemd/system/sssd.service:17: PIDFile= references a path below legacy directory /var/run/, updating /var/run/sssd.pid → /run/sssd.pid; please update the unit file accordingly. > systemd[1]: Starting sssd.service - System Security Services Daemon... > sssd[2538]: SSSD couldn't load the configuration database [5]: Input/output error > systemd[1]: sssd.service: Main process exited, code=exited, status=4/NOPERMISSION > systemd[1]: sssd.service: Failed with result 'exit-code'. > systemd[1]: Failed to start sssd.service - System Security Services Daemon. 4. # cat /var/log/sssd/sssd.log > [sssd] [ldb] (0x0010): Unable to find backend for '/var/lib/sss/db/config.ldb' - do you need to set LDB_MODULES_PATH? > [sssd] [confdb_init] (0x0010): Unable to open config database [/var/lib/sss/db/config.ldb] > [sssd] [confdb_setup] (0x0010): The confdb initialization failed [5]: Input/output error > [sssd] [load_configuration] (0x0010): Unable to setup ConfDB [5]: Input/output error > [sssd] [main] (0x0010): SSSD couldn't load the configuration database [5]: Input/output error Ожидаемый результат =================== Успешный запуск сервиса с настройками по умолчанию. Дополнительно ============= 1. Воспроизводится не во всех конфигурациях. Например, при вводе с помощью SSSD через alterator-auth (system-auth) в домен Samba AD DC SSSD запускается и работает. 2. В конфигурации SSSD указано: > # SSSD will not start if you do not configure any domains. однако ошибка запуска не об этом и воспроизводится даже при указании домена в виде: # cat /etc/sssd/sssd.conf [sssd] config_file_version = 2 services = nss, pam user = _sssd domains = MYLDAP [nss] [pam] [domain/MYLDAP] id_provider = ldap ldap_uri = ldap://MYHOST ldap_backup_uri = ldap://MYHOST1 ldap_search_base = o=MYORG,c=RU ldap_default_bind_dn = uid=MYACCOUNT,ou=MYOU,o=MYORG,c=RU ldap_default_authtok_type = password ldap_default_authtok = MYPASSWORD enumerate = true cache_credentials = true Воспроизводимость ================= [p11] ALT Server 11.0 x86_64 sssd-2.9.7-alt3.x86_64 [sisyphus] ALT Server 11.0 x86_64 sssd-2.9.7-alt3.x86_64 *** Bug 56144 has been marked as a duplicate of this bug. *** рассматриваемые сложности с sssd как-то связаны с зарегистрированными проблемами https://github.com/sssd/sssd/issues ? Или это результат каких-то неудач при сборке или инсталляции пакетов? причина же уже ясна: https://bugzilla.altlinux.org/56819 не устанавливается по зависимостям /usr/lib64/samba/ldb.mit/ldb.so из samba-dc-libs прошу исправить зависимости в сизифе и p11 |