Bug 58581 - Не создаётся папка с профилем пользователя в /var/lib/sss/deskprofile/
Summary: Не создаётся папка с профилем пользователя в /var/lib/sss/deskprofile/
Status: RESOLVED WONTFIX
Alias: None
Product: Sisyphus
Classification: Development
Component: sssd (show other bugs)
Version: unstable
Hardware: x86_64 Linux
: P5 normal
Assignee: Evgeny Sinelnikov
QA Contact: qa-sisyphus
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2026-04-07 14:33 MSK by Савелий Солдатов
Modified: 2026-04-07 15:43 MSK (History)
6 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Савелий Солдатов 2026-04-07 14:33:18 MSK
sssd-2.9.8-alt3

Системы:
Alt Server 11.0-x86-64 (DC)
Alt Education 11.1-x86-64-xfce (клиент)

Шаги воспроизведения:
1. Развернуть FreeIPA домен (сервер + клиент)
2. Настроить сервер:

# apt-get install freeipa-desktop-profile
# kinit admin
# rm -rf  ~/.cache/ipa && ipa deskprofileconfig-show
# cat > testprofile.json <<EOF
{
  "org.gnome.gsettings": [
    {
      "key": "/org/mate/desktop/background/picture-filename",
      "schema": "org.mate.background",
      "signature": "s",
      "value": "'/usr/share/backgrounds/mate/desktop/MATE-Stripes-Light.png'" 
    }
  ],
  "org.libreoffice.registry": [],
  "org.chromium.Policies": [],
  "com.google.chrome.Policies": [],
  "org.mozilla.firefox": [],
  "org.mozilla.firefox.Bookmarks": [],
  "org.freedesktop.NetworkManager": []
}
EOF
# cat testprofile.json | base64 > testprofile.jsonb && ipa deskprofile-add testprofile --data=testprofile.jsonb && ipa deskprofilerule-add testprofilerule --profile="testprofile" --prio=100
# ipa deskprofilerule-add-user testprofilerule --users testuser
# for cli in $(ipa host-find | grep 'Имя узла' | grep -v 'dc.' | cut -d':' -f2 | tr -d ' '); do ipa deskprofilerule-add-host testprofilerule --hosts $cli; sleep 1; done

3. Настроить клиента:
# systemctl stop sssd && rm -f /var/lib/sss/db/* && rm -f /var/lib/sss/mc/* && systemctl start sssd && reboot

4. На клиенте залогиниться пользователем testuser.
5. Проверить содержимое директории /var/lib/sss/deskprofile:
# find /var/lib/sss/deskprofile && cat $(find /var/lib/sss/deskprofile | grep json$)

Ожидаемый результат:
Создалась папка с профилем пользователя, например:
#  find /var/lib/sss/deskprofile && cat $(find /var/lib/sss/deskprofile | grep json$)

/var/lib/sss/deskprofile
/var/lib/sss/deskprofile/freeipa.testdomain
/var/lib/sss/deskprofile/freeipa.testdomain/testuser
/var/lib/sss/deskprofile/freeipa.testdomain/testuser/000100_000100_000000_000100_000000_testprofilerule.json
{
  "org.gnome.gsettings": [
    {
      "key": "/org/mate/desktop/background/picture-filename",
      "schema": "org.mate.background",
      "signature": "s",
      "value": "'/usr/share/backgrounds/mate/desktop/MATE-Stripes-Light.png'" 
    }
  ],
  "org.libreoffice.registry": [],
  "org.chromium.Policies": [],
  "com.google.chrome.Policies": [],
  "org.mozilla.firefox": [],
  "org.mozilla.firefox.Bookmarks": [],
  "org.freedesktop.NetworkManager": []
}

Фактический результат: вывод пустой, папка с профилем не создаётся
Comment 1 Stanislav Levin 2026-04-07 15:36:15 MSK
freeipa-desktop-profile больше не поддерживается:
https://github.com/abbra/freeipa-desktop-profile

fleet-commander (для которого и делался этот плагин) был удален из большинства бранчей:
https://packages.altlinux.org/en/sisyphus/srpms/fleet-commander-admin/

удалил freeipa-desktop-profile из сизифа:
https://git.altlinux.org/tasks/414440/
Comment 2 Alexander Makeenkov 2026-04-07 15:43:37 MSK
(Ответ для Stanislav Levin на комментарий #1)
> удалил freeipa-desktop-profile из сизифа:
> https://git.altlinux.org/tasks/414440/