mirror of
https://git.yoctoproject.org/meta-security
synced 2026-06-06 14:50:29 +00:00
sssd: fix missing python3-logging run-time dependency
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 <module> from sssd import sss_analyze File "/usr/lib/python3.12/site-packages/sssd/sss_analyze.py", line 3, in <module> from sssd.modules import request File "/usr/lib/python3.12/site-packages/sssd/modules/request.py", line 2, in <module> 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 <gael.portay+rtone@gmail.com> Signed-off-by: Armin Kuster <akuster808@gmail.com>
This commit is contained in:
committed by
Armin Kuster
parent
2e3d90f256
commit
0efc86634c
@@ -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 \
|
||||
"
|
||||
|
||||
Reference in New Issue
Block a user