From 0efc86634c7b189d729396d92705f401c0661527 Mon Sep 17 00:00:00 2001 From: "gael.portay+rtone@gmail.com" Date: Fri, 25 Oct 2024 10:22:32 +0200 Subject: [PATCH] sssd: fix missing python3-logging run-time dependency MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The internal tool sss_analyze is a python script run by the sssctl command analyze. The script sss_analyze imports the python module logging[1]. However, the package sssd lacks installing this python module that is required to run the script. This adds the missing run-time dependency python3-logging to ensure this module comes along the package sssd. Fixes: root@qemux86-64:~# sssctl analyze Traceback (most recent call last): File "/usr/libexec/sssd/sss_analyze", line 3, in from sssd import sss_analyze File "/usr/lib/python3.12/site-packages/sssd/sss_analyze.py", line 3, in from sssd.modules import request File "/usr/lib/python3.12/site-packages/sssd/modules/request.py", line 2, in import logging ModuleNotFoundError: No module named 'logging' [1]: https://github.com/SSSD/sssd/blob/2.9.2/src/tools/analyzer/source_files.py#L2 Signed-off-by: Gaƫl PORTAY Signed-off-by: Armin Kuster --- .../recipes-security/sssd/sssd_2.9.2.bb | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/dynamic-layers/networking-layer/recipes-security/sssd/sssd_2.9.2.bb b/dynamic-layers/networking-layer/recipes-security/sssd/sssd_2.9.2.bb index f6bbac3..e8f3031 100644 --- a/dynamic-layers/networking-layer/recipes-security/sssd/sssd_2.9.2.bb +++ b/dynamic-layers/networking-layer/recipes-security/sssd/sssd_2.9.2.bb @@ -156,4 +156,12 @@ FILES:${PN} += "${base_libdir}/security/pam_sss*.so \ FILES:libsss-sudo = "${libdir}/libsss_sudo.so" -RDEPENDS:${PN} = "bind bind-utils dbus libldb libpam libsss-sudo python3-core" +RDEPENDS:${PN} = "bind \ + bind-utils \ + dbus \ + libldb \ + libpam \ + libsss-sudo \ + python3-core \ + python3-logging \ + "